作者 郭盛
1 个管道 的构建 通过 耗费 0 秒

调试

@@ -18,7 +18,7 @@ use app\nsms\nsms; @@ -18,7 +18,7 @@ use app\nsms\nsms;
18 */ 18 */
19 class Pay extends Api 19 class Pay extends Api
20 { 20 {
21 - protected $noNeedLogin = ['payOrderNotify','vippayOrderNotify','picOrderNotify','videoOrderNotify']; 21 + protected $noNeedLogin = ['test','payOrderNotify','vippayOrderNotify','picOrderNotify','videoOrderNotify'];
22 protected $noNeedRight = ['*']; 22 protected $noNeedRight = ['*'];
23 protected $uid = '';//token存贮uid 23 protected $uid = '';//token存贮uid
24 protected $order_status = [];//订单状态 24 protected $order_status = [];//订单状态
@@ -686,6 +686,11 @@ class Pay extends Api @@ -686,6 +686,11 @@ class Pay extends Api
686 $response->send(); 686 $response->send();
687 } 687 }
688 688
  689 + public function test() {
  690 + $pic_id = cache('pic_id');
  691 + var_dump($pic_id);
  692 + }
  693 +
689 //图片支付订单结果通知(无需调用) 694 //图片支付订单结果通知(无需调用)
690 public function picOrderNotify(){ 695 public function picOrderNotify(){
691 $config = config('verify.wx_pay'); 696 $config = config('verify.wx_pay');