瀏覽代碼

fix:微信企业关注

duxin 3 年之前
父節點
當前提交
71921f1ffd
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/jfw/modules/followent/src/followent/followent.go
  2. 1 1
      src/jfw/modules/publicapply/src/config.json

+ 1 - 1
src/jfw/modules/followent/src/followent/followent.go

@@ -94,7 +94,7 @@ type EntFollow struct {
 
 func CreateEntFollowManager(userid string) int {
 	bigMsg := jy.GetBigVipUserBaseMsg(userid, public.Mysql, public.MQFW)
-	return util.IntAll(util.If(bigMsg.ProNum > util.IntAll(config.Sysconfig["followentlimit"]), bigMsg.ProNum, util.IntAll(config.Sysconfig["followentlimit"])))
+	return util.IntAll(util.If(bigMsg.Customers > util.IntAll(config.Sysconfig["followentlimit"]), bigMsg.ProNum, util.IntAll(config.Sysconfig["followentlimit"])))
 }
 
 func (f *FollowEnt) AddEnt() error {

+ 1 - 1
src/jfw/modules/publicapply/src/config.json

@@ -48,7 +48,7 @@
     "smsServiceRpc":"127.0.0.1:932",
     "fileSignBool":true,
     "followCustomer": {
-      "customerNumb": 50,
+      "customerNumb": 10,
       "enterpriseNumb": 500
     }
 }