فهرست منبع

创建商品订单

kobe6258 5 ماه پیش
والد
کامیت
4a0f0b666e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      controllers/web_hook/htfutures_account_controller.go

+ 2 - 2
controllers/web_hook/htfutures_account_controller.go

@@ -115,7 +115,7 @@ func (h *HTFuturesAccountController) SyncCustomerRiskLevel() {
 			h.FailedResult("用户名字不能为空", result)
 			return
 		}
-		if custInfo.MobileTel == "" {
+		if custInfo.DealMobileTel == "" {
 			err = exception.New(exception.SyncRiskError)
 			h.FailedResult("手机号码不能为空", result)
 			return
@@ -148,7 +148,7 @@ func (h *HTFuturesAccountController) SyncCustomerRiskLevel() {
 		}
 		err = userService.UpdateRiskLevelInfo(userService.RiskLevelInfoDTO{
 			Name:             custInfo.ClientName,
-			PhoneNumber:      custInfo.MobileTel,
+			PhoneNumber:      custInfo.DealMobileTel,
 			RiskLevel:        fmt.Sprintf("C%s", riskInfo.CorpRiskLevel),
 			RiskValidEndDate: riskEndDate.Format(time.DateOnly),
 		})