|
@@ -44,6 +44,7 @@ class WxSendMessageService extends WeixinService
|
|
|
list($status,$msg) = $this->sendTmpMsg($openid,$tmp_id,['detail'=>$data]);
|
|
|
if(! $status) return [false, $msg];
|
|
|
|
|
|
+
|
|
|
return [true,''];
|
|
|
}
|
|
|
|
|
@@ -57,6 +58,10 @@ class WxSendMessageService extends WeixinService
|
|
|
"touser":"' . $openid . '",
|
|
|
"template_id":"' . $tempid . '",
|
|
|
"url":"' . $reload_url . '",
|
|
|
+ "miniprogram":{
|
|
|
+ "appid":"wxc0bc3dfc58b4e00e",
|
|
|
+ "pagepath":""
|
|
|
+ },
|
|
|
"data":{
|
|
|
"first": {
|
|
|
"value":"1",
|