Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

结构体字段类型定义与接口响应字段类型不一致 #36

Open
PandaTtttt opened this issue Sep 8, 2023 · 0 comments
Open

Comments

@PandaTtttt
Copy link

merge_fund_type_funds/get API返回结果中的 effect_funds的结构
type T struct {
Amount int json:"amount"
EffectDate string json:"effect_date"
ExpireDate string json:"expire_date"
},但是 model中的MergeFundTypeFundsGetListStruct 的结构
type MergeFundTypeFundsGetListStruct struct {
Balance *int64 json:"balance,omitempty"
FundStatus FundStatus json:"fund_status,omitempty"
EffectFunds *[]string json:"effect_funds,omitempty"
RealtimeCost *int64 json:"realtime_cost,omitempty"
FundType AccountMergeTypeMap json:"fund_type,omitempty"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant