Kirin 2 gadi atpakaļ
vecāks
revīzija
272afd83a9
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      app/api/controller/PublicController.php

+ 1 - 0
app/api/controller/PublicController.php

@@ -47,6 +47,7 @@ class PublicController
 //        }
         $open_id = \app\admin\model\wechat\WechatUser::where('uid', 93)->find();
         var_dump($open_id);
+        var_dump($open_id['openid']);
         if ($open_id['openid']) {
             try {
                 $res = WechatService::paymentService()->batches(