微信公众号推送文章相关接口调整
This commit is contained in:
@@ -190,11 +190,11 @@ class Wechat
|
||||
if(empty($iTemplateId)){
|
||||
return json_encode(['status' => 2,'msg' => 'Template ID is empty']);
|
||||
}
|
||||
//发布公众号ID
|
||||
$sWechatId = empty($aParam['wechat_id']) ? 0 : $aParam['wechat_id'];
|
||||
if(empty($sWechatId)){
|
||||
return json_encode(['status' => 2,'msg' => 'Please select the official account to be pushed']);
|
||||
}
|
||||
// //发布公众号ID
|
||||
// $sWechatId = empty($aParam['wechat_id']) ? 0 : $aParam['wechat_id'];
|
||||
// if(empty($sWechatId)){
|
||||
// return json_encode(['status' => 2,'msg' => 'Please select the official account to be pushed']);
|
||||
// }
|
||||
//生成模版内容
|
||||
$sContent = empty($aParam['content']) ? '' : $aParam['content'];
|
||||
if(empty($sContent)){
|
||||
|
||||
Reference in New Issue
Block a user