瀏覽代碼

修改代码

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() {