|
@@ -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 {
|