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