zhangxinlei1996 2 年之前
父節點
當前提交
cc465b8b6d

+ 2 - 1
src/jfw/modules/subscribepay/src/config.json

@@ -112,5 +112,6 @@
 	"nsq":"192.168.3.240:4260",
   "nsq_topic": "jy_event",
   "userCenterApi":"https://web-zxl.jydev.jianyu360.com",
-  "companySize": 10
+  "companySize": 10,
+  "vipKeyMaxLength":300
 }

+ 1 - 0
src/jfw/modules/subscribepay/src/service/vipSubscribeChange.go

@@ -71,6 +71,7 @@ func (this *SubscribeChange) GetSubBuyMsg() {
 			"isread":          isread,
 			"isvip":           vip,
 			"isnew":           NewUserByVIP(userId), //免费订阅区分新老用户
+			"key_max_length":  qutil.If(vip, config.Config.VipKeyMaxLength, 10),
 		}}
 	}()
 	if r.Err != nil {