【类 型】:test
【主 题】: 【描 述】: [原因]: [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
1be5d8cc94
commit
6c84ba1a95
@ -85,9 +85,9 @@ class PayController extends PublicController
|
||||
// 调用退款接口
|
||||
$result = Pay::wechat($this->config)->refund($refundParameter);
|
||||
// 处理退款结果
|
||||
echo json_encode(array('status' => 1, 'refundMsg' => $result));
|
||||
echo json_encode(array('status' => 1, 'msg' => $result));
|
||||
} catch (\Exception $e) {
|
||||
echo json_encode(array('status' => 0, 'msg' => 'Error: ' . $e->getMessage()));
|
||||
echo json_encode(array('status' => 0, 'msg' => $e->getMessage()));
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user