|
@@ -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{}
|