【类 型】:fix

【主	题】:日志输出错误
【描	述】:
	[原因]:不用Logger::debug 有logger参数即可
	[过程]:删除Logger::debug方法调用
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-06-04 13:44:29 +08:00
parent f0c81b399b
commit 51f61ef9e6

View File

@ -84,7 +84,6 @@ class PayController extends PublicController
try {
$pay = Pay::wechat($this->config)->mini($order);
Logger::debug('Paying...', $order->all()); //打印日志
echo json_encode($pay);
} catch (\Exception $e) {
echo 'Error: ' . $e->getMessage();