浏览代码

fix:添加海通小程序

Roc 7 月之前
父节点
当前提交
e7e7a44428
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      services/wechat_send_msg.go

+ 2 - 0
services/wechat_send_msg.go

@@ -107,6 +107,8 @@ func SendWxTemplateMsg(sendInfo *models.SendWxTemplate) (err error) {
 			case 3:
 			case 3:
 				xcxAppId = utils.WxCygxAppId
 				xcxAppId = utils.WxCygxAppId
 			case 4:
 			case 4:
+				xcxAppId = utils.WxCopyYbAppId
+			case 5:
 				xcxAppId = utils.WxHtAppId
 				xcxAppId = utils.WxHtAppId
 			default:
 			default:
 				err = errors.New("无效的微信小程序跳转方式:RedirectTarget" + strconv.Itoa(sendInfo.RedirectTarget))
 				err = errors.New("无效的微信小程序跳转方式:RedirectTarget" + strconv.Itoa(sendInfo.RedirectTarget))