This commit is contained in:
szdot 2024-06-05 20:23:23 +08:00
commit e7161d5aeb

View File

@ -79,9 +79,12 @@ class PayController extends PublicController
echo json_encode(array('status' => 0, 'msg' => 'Error: ' . $e->getMessage())); echo json_encode(array('status' => 0, 'msg' => 'Error: ' . $e->getMessage()));
} }
} }
/**
* @description: 支付成功后 腾讯服务器的回调
*/
public function notifyCallback() public function notifyCallback()
{ {
$this->publish('demo', 'start');
$pay = Pay::wechat($this->config); $pay = Pay::wechat($this->config);
try { try {