parent
105271ec40
commit
37b0ba231d
4
tysk.go
4
tysk.go
|
@ -33,8 +33,8 @@ func (g *Tysk) GetAccountBalance(accountList tysk_entity.GetAccountBalanceReq) (
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
res = make(map[tysk_constant.AccountNo]tysk_entity.GetAccountBalanceList, len(result.List.Row))
|
||||
for _, row := range result.List.Row {
|
||||
res = make(map[tysk_constant.AccountNo]tysk_entity.GetAccountBalanceList, len(result.UserDataList))
|
||||
for _, row := range result.UserDataList {
|
||||
res[row.AccountNo] = row
|
||||
}
|
||||
return
|
||||
|
|
|
@ -6,10 +6,7 @@ import (
|
|||
|
||||
type (
|
||||
AccountBalance struct {
|
||||
List struct {
|
||||
Name string `json:"-name"`
|
||||
Row []GetAccountBalanceList `json:"row"`
|
||||
} `json:"list"`
|
||||
UserDataList []GetAccountBalanceList `json:"UserDataList"`
|
||||
}
|
||||
GetAccountBalanceList struct {
|
||||
AccountNo tysk_constant.AccountNo `json:"accountNo" comment:"账号" `
|
||||
|
|
Loading…
Reference in New Issue