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 {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
res = make(map[tysk_constant.AccountNo]tysk_entity.GetAccountBalanceList, len(result.List.Row))
|
res = make(map[tysk_constant.AccountNo]tysk_entity.GetAccountBalanceList, len(result.UserDataList))
|
||||||
for _, row := range result.List.Row {
|
for _, row := range result.UserDataList {
|
||||||
res[row.AccountNo] = row
|
res[row.AccountNo] = row
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
@ -6,10 +6,7 @@ import (
|
||||||
|
|
||||||
type (
|
type (
|
||||||
AccountBalance struct {
|
AccountBalance struct {
|
||||||
List struct {
|
UserDataList []GetAccountBalanceList `json:"UserDataList"`
|
||||||
Name string `json:"-name"`
|
|
||||||
Row []GetAccountBalanceList `json:"row"`
|
|
||||||
} `json:"list"`
|
|
||||||
}
|
}
|
||||||
GetAccountBalanceList struct {
|
GetAccountBalanceList struct {
|
||||||
AccountNo tysk_constant.AccountNo `json:"accountNo" comment:"账号" `
|
AccountNo tysk_constant.AccountNo `json:"accountNo" comment:"账号" `
|
||||||
|
|
Loading…
Reference in New Issue