Browse Source

创建商品订单

kobe6258 4 months ago
parent
commit
f136000cc3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/web_hook/htfutures_account_controller.go

+ 2 - 1
controllers/web_hook/htfutures_account_controller.go

@@ -5,6 +5,7 @@ import (
 	"eta/eta_mini_ht_api/common/exception"
 	"eta/eta_mini_ht_api/controllers"
 	userService "eta/eta_mini_ht_api/domian/user"
+	"fmt"
 )
 
 type HTFuturesAccountController struct {
@@ -202,7 +203,7 @@ func (h *HTFuturesAccountController) SyncCustomerAccountInfo() {
 		err = userService.UpdateRiskLevelInfo(userService.RiskLevelInfoDTO{
 			Name:             custInfo.ClientName,
 			PhoneNumber:      custInfo.MobileTel,
-			RiskLevel:        riskInfo.CorpRiskLevel,
+			RiskLevel:        fmt.Sprintf("C%s", riskInfo.CorpRiskLevel),
 			RiskValidEndDate: riskInfo.CorpEndDate,
 		})
 		if err != nil {