1、增加钱包余额

This commit is contained in:
2024-10-15 23:58:36 +08:00
parent 8609f8566d
commit fdfdbb5ff6
10 changed files with 313 additions and 285 deletions

View File

@@ -70,12 +70,13 @@ type (
enterpriseContact string `json:"enterpriseContact"`
}
UserInfoResp {
username string `json:"username"`
phone string `json:"phone"`
enterpriseAuthStatus string `json:"enterpriseAuthStatus"`
enterpriseName string `json:"enterpriseName"`
creditCode string `json:"creditCode"`
legalPerson string `json:"legalPerson"`
username string `json:"username"`
phone string `json:"phone"`
enterpriseAuthStatus string `json:"enterpriseAuthStatus"`
enterpriseName string `json:"enterpriseName"`
creditCode string `json:"creditCode"`
legalPerson string `json:"legalPerson"`
balance float64 `json:"balance"`
}
UploadBusinessLicenseResp {
url string `json:"url"`

View File

@@ -44,5 +44,6 @@ func (l *GetUserInfoLogic) GetUserInfo() (resp *types.UserInfoResp, err error) {
EnterpriseName: info.EnterpriseName,
CreditCode: info.CreditCode,
LegalPerson: info.LegalPerson,
Balance: info.Balance,
}, nil
}

View File

@@ -124,12 +124,13 @@ type UploadBusinessLicenseResp struct {
}
type UserInfoResp struct {
Username string `json:"username"`
Phone string `json:"phone"`
EnterpriseAuthStatus string `json:"enterpriseAuthStatus"`
EnterpriseName string `json:"enterpriseName"`
CreditCode string `json:"creditCode"`
LegalPerson string `json:"legalPerson"`
Username string `json:"username"`
Phone string `json:"phone"`
EnterpriseAuthStatus string `json:"enterpriseAuthStatus"`
EnterpriseName string `json:"enterpriseName"`
CreditCode string `json:"creditCode"`
LegalPerson string `json:"legalPerson"`
Balance float64 `json:"balance"`
}
type UserProductItem struct {