Browse Source

Merge branch 'aj_fix_bug' into debug

hongze 1 year ago
parent
commit
b8908e7930
1 changed files with 5 additions and 1 deletions
  1. 5 1
      controllers/company.go

+ 5 - 1
controllers/company.go

@@ -2923,7 +2923,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
+		}
 	}
 	if productId == utils.COMPANY_PRODUCT_RAI_ID && req.Status == utils.COMPANY_STATUS_FOREVER { // 权益的永续客户给一个状态初始化的记录
 		companyProduct.InitStatus = req.Status