浏览代码

创建商品订单

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),
 		})