浏览代码

feat:更新

wangshan 3 年之前
父节点
当前提交
8305857cb8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/jfw/modules/subscribepay/src/service/userAccountInfo.go

+ 2 - 2
src/jfw/modules/subscribepay/src/service/userAccountInfo.go

@@ -200,9 +200,9 @@ func (this *UserAccount) MailSet(doType string) {
 func (this *UserAccount) CompanyAssociation() {
 	rData, errMsg := func() (interface{}, error) {
 		name := this.GetString("name")
-		companyCount, _ := this.GetInt("companyCount")
 		count := config.Config.CompanySize
-		if companyCount <= config.Config.CompanySize && companyCount != 0 {
+		companyCount, _ := this.GetInt("companyCount")
+		if companyCount <= count*2 && companyCount > 0 {
 			count = companyCount
 		}
 		list := []string{}