【类 型】:feat
【主 题】:mqtt提示信息 【描 述】: [原因]:支付成功时 在回调里 向地面终端发送 刷新订单信息 [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
6ce5e9d9b0
commit
5ebe3a57a8
@ -85,7 +85,8 @@ class PayController extends PublicController
|
||||
{
|
||||
// 实例化 Yansongda Pay
|
||||
$result = Pay::wechat($this->config)->callback();
|
||||
$this->publish('demo', json_encode($result));
|
||||
// 地面终端 和 小程序端的提示刷新信息
|
||||
$this->publish('refreshQuestList/2dc23dcfecc05fb1', 1);
|
||||
try {
|
||||
// 验证成功,处理业务逻辑
|
||||
if ($result['resource']['ciphertext']['trade_state'] == 'SUCCESS') {
|
||||
|
Loading…
Reference in New Issue
Block a user