fuyu пре 5 година
родитељ
комит
ebd751906c
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      application/inter/service/WechatService.php

+ 3 - 1
application/inter/service/WechatService.php

@@ -4,6 +4,8 @@ namespace app\inter\service;
 use think\Db;
 
 class WechatService {
+
+
   public function pushWechatOrder($exam_id) {
     var_dump($exam_id);
     $openids = $this->getPushOpenId($exam_id);
@@ -18,9 +20,9 @@ class WechatService {
       $full_url = $url . $v['openid'];
       // 请求
       $res = $this->curl_request($full_url, 'GET');
+      var_dump($res);
     }
     return true;
-    // http://wechat.pacsonline.cn/wx_patient/api/sendMsg?pushType=1&openid=
   }
 
   public function pushWechatCancel() {