Browse Source

Merge branch 'cygx_need_900' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 year ago
parent
commit
d59f277f76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/company.go

+ 2 - 2
controllers/company.go

@@ -386,8 +386,8 @@ func (this *CompanyController) SearchList() {
 	}
 
 	for _, v := range list {
-		v.Status = strings.Replace(v.Status, utils.COMPANY_STATUS_FOREVER, utils.COMPANY_STATUS_X_CLASS_TRY_OUT, -1)   // 永续客户类型,映射成 X类试用
-		v.Duration = strings.Replace(v.Status, utils.COMPANY_STATUS_FOREVER, utils.COMPANY_STATUS_X_CLASS_TRY_OUT, -1) // 永续客户类型,映射成 X类试用
+		v.Status = strings.Replace(v.Status, utils.COMPANY_STATUS_FOREVER, utils.COMPANY_STATUS_X_CLASS_TRY_OUT, -1)     // 永续客户类型,映射成 X类试用
+		v.Duration = strings.Replace(v.Duration, utils.COMPANY_STATUS_FOREVER, utils.COMPANY_STATUS_X_CLASS_TRY_OUT, -1) // 永续客户类型,映射成 X类试用
 	}
 	if list == nil {
 		list = make([]*company.CompanySearchItem, 0)