Roc 7 месяцев назад
Родитель
Сommit
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:
 				xcxAppId = utils.WxCygxAppId
 			case 4:
+				xcxAppId = utils.WxCopyYbAppId
+			case 5:
 				xcxAppId = utils.WxHtAppId
 			default:
 				err = errors.New("无效的微信小程序跳转方式:RedirectTarget" + strconv.Itoa(sendInfo.RedirectTarget))