|
@@ -1155,7 +1155,7 @@ func UpdateCygxSubscribe(uid int, unionId string) (err error) {
|
|
|
}
|
|
|
|
|
|
// SendPermissionApplyTemplateMsgAdmin 处理试用申请给王芳,汪洋发消息
|
|
|
-func SendPermissionApplyTemplateMsgAdmin(req models.ApplyTryReq, usermobile, applyMethod string, isResearch bool) (err error) {
|
|
|
+func SendPermissionApplyTemplateMsgAdmin(req models.ApplyTryReq, usermobile, applyMethod, categoryApplyMethod ,redirectUrl string, isResearch bool) (err error) {
|
|
|
defer func() {
|
|
|
if err != nil {
|
|
|
go utils.SendAlarmMsg("处理试用申请给王芳,汪洋发消息失败, ErrMsg: "+err.Error(), 3)
|
|
@@ -1177,7 +1177,7 @@ func SendPermissionApplyTemplateMsgAdmin(req models.ApplyTryReq, usermobile, app
|
|
|
|
|
|
for _, v := range openIdList {
|
|
|
go SendPermissionApplyTemplateMsg(req.RealName, req.CompanyName, usermobile, applyMethod, v)
|
|
|
- go SendPermissionApplyCategoryTemplateMsg(req.RealName, req.CompanyName, usermobile, applyMethod, v, "")
|
|
|
+ go SendPermissionApplyCategoryTemplateMsg(req.RealName, req.CompanyName, usermobile, categoryApplyMethod, v, redirectUrl)
|
|
|
}
|
|
|
|
|
|
//openIpItem, e := models.GetUserRecordByMobile(4, cnf.ConfigValue)
|