Browse Source

大会员续费配置

wangshan 7 months ago
parent
commit
d2f95c15b7

+ 3 - 1
src/jfw/modules/subscribepay/src/config.yaml

@@ -43,5 +43,7 @@ miniprogram:
   jyzbw:
     name: "剑鱼招标网"
     appid: "wx37f06c38292f7d82"
-consultingVipMemberH5: https://h5.jianyu360.cn/jyapp/view/672352bb6b45456266a57127
+consultingVipMemberH5: /jyapp/view/672352bb6b45456266a57127
 consultingVipMemberApp: /jyapp/view/672352bb6b45456266a57127
+consultingVipMemberWX: https://h5-editor.jydev.jianyu360.cn/view/67247f741d749c1b910c61d3
+consultingVipMemberMini: https://h5-editor.jydev.jianyu360.cn/view/67247f741d749c1b910c61d3

+ 5 - 3
src/jfw/modules/subscribepay/src/service/userAccountInfo.go

@@ -215,9 +215,11 @@ func getAccountVipAttr(session *httpsession.Session, powerRes *pcc.CheckResp) (r
 	//付费用户根据结束时间排序展示会员,省份订阅包和其他产品并存,省份订阅包不展
 	if powerRes.Member.Status > 0 { //大会员
 		rData = append(rData, &VipDetail{Name: fmt.Sprintf("大会员%s", memberCodeNameMapping[powerRes.Member.Status]), EndTime: powerRes.Member.GetEndTime(), Attr: g.Map{
-			"h5":  g.Cfg().MustGet(context.TODO(), "consultingVipMemberH5", "https://host.huiju.cool/p/18dea1").String(),
-			"app": g.Cfg().MustGet(context.TODO(), "consultingVipMemberApp", "https://host.huiju.cool/p/f01de").String(),
-			"pc":  g.Cfg().MustGet(context.TODO(), "consultingVipMemberPc", "https://www.jianyu360.cn/hjpc/dhyxfzxxshd").String(),
+			"h5":   g.Cfg().MustGet(context.TODO(), "consultingVipMemberH5", "https://host.huiju.cool/p/18dea1").String(),
+			"app":  g.Cfg().MustGet(context.TODO(), "consultingVipMemberApp", "https://host.huiju.cool/p/f01de").String(),
+			"pc":   g.Cfg().MustGet(context.TODO(), "consultingVipMemberPc", "https://www.jianyu360.cn/hjpc/dhyxfzxxshd").String(),
+			"wx":   g.Cfg().MustGet(context.TODO(), "consultingVipMemberWX", "https://host.huiju.cool/p/18dea1").String(),
+			"mini": g.Cfg().MustGet(context.TODO(), "consultingVipMemberMini", "https://host.huiju.cool/p/18dea1").String(), //微信小程序
 		}})
 	}
 	if powerRes.Entniche.Status > 0 {