@@ -130,9 +130,9 @@ func (this *WechatController) SendCategoryTemplateMsg() {
br.Msg = "openid为空"
return
}
- if sendItem.WxAppId == "" {
- sendItem.WxAppId = utils.WxMfyxAppId //默认是买方研选公众号
- }
+
+ sendItem.WxAppId = utils.WxMfyxAppId //默认是买方研选公众号
go func() {
err = services.SendWxCategoryTemplateMsgCygx(sendItem)
if err != nil {