Selaa lähdekoodia

Merge branch 'master' of http://8.136.199.33:3000/hongze/hz_crm_api

xingzai 1 vuosi sitten
vanhempi
commit
17af66e068
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      controllers/company.go

+ 5 - 1
controllers/company.go

@@ -2904,7 +2904,11 @@ func (this *CompanyController) Add() {
 	companyProduct.TryStage = 1
 	companyProduct.OverseasLabel = 1
 	if seller.Mobile == "13065778668" {
-		companyProduct.IsOverseas = 1
+		if req.RegionType == "海外" {
+			companyProduct.IsOverseas = 0
+		} else {
+			companyProduct.IsOverseas = 1
+		}
 	}
 	companyProductId, err := company.AddCompanyProduct(companyProduct)
 	if err != nil {