فهرست منبع

Merge branch 'aj_fix_bug' into debug

hongze 1 سال پیش
والد
کامیت
b8908e7930
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      controllers/company.go

+ 5 - 1
controllers/company.go

@@ -2923,7 +2923,11 @@ func (this *CompanyController) Add() {
 	companyProduct.TryStage = 1
 	companyProduct.TryStage = 1
 	companyProduct.OverseasLabel = 1
 	companyProduct.OverseasLabel = 1
 	if seller.Mobile == "13065778668" {
 	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 { // 权益的永续客户给一个状态初始化的记录
 	if productId == utils.COMPANY_PRODUCT_RAI_ID && req.Status == utils.COMPANY_STATUS_FOREVER { // 权益的永续客户给一个状态初始化的记录
 		companyProduct.InitStatus = req.Status
 		companyProduct.InitStatus = req.Status