|
|
@@ -102,7 +102,7 @@ class UserSpread extends BaseModel
|
|
|
|
|
|
@file_put_contents('quanju.txt', $openid."-openid\r\n", 8);
|
|
|
@file_put_contents('quanju.txt', json_encode($group)."-模版消息3\r\n", 8);
|
|
|
- $res= WechatTemplateService::sendTemplate($openid, WechatTemplateService::BARGAIN_SUCCESS, $group);
|
|
|
+ $res= WechatTemplateService::sendTemplate($openid, intval(WechatTemplateService::BARGAIN_SUCCESS), $group);
|
|
|
@file_put_contents('quanju.txt', json_encode($res)."-模版消息返回3\r\n", 8);
|
|
|
|
|
|
}
|