diff --git a/FlyCube/MpApi/Controller/PayController.class.php b/FlyCube/MpApi/Controller/PayController.class.php index bb78e39..c37d713 100644 --- a/FlyCube/MpApi/Controller/PayController.class.php +++ b/FlyCube/MpApi/Controller/PayController.class.php @@ -95,6 +95,7 @@ class PayController extends PublicController */ public function refundNotifyCallback() { + $this->publish("demo", "hello"); $this->init(); // 初始化 pay类的参数 try { diff --git a/FlyCube/MpApi/Controller/PublicController.class.php b/FlyCube/MpApi/Controller/PublicController.class.php index e1df3cb..4f08edf 100644 --- a/FlyCube/MpApi/Controller/PublicController.class.php +++ b/FlyCube/MpApi/Controller/PublicController.class.php @@ -3,6 +3,7 @@ namespace MpApi\Controller; use Think\Controller; + use Firebase\JWT\JWT; use Firebase\JWT\Key;