fix: int64 ID 字段序列化为 JSON string
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by goctl. DO NOT EDIT.
|
||||
// goctl 1.9.2
|
||||
// goctl 1.10.1
|
||||
|
||||
package handler
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by goctl. DO NOT EDIT.
|
||||
// goctl 1.9.2
|
||||
// goctl 1.10.1
|
||||
|
||||
package types
|
||||
|
||||
@@ -29,7 +29,7 @@ type TopupReq struct {
|
||||
}
|
||||
|
||||
type Transaction struct {
|
||||
Id int64 `json:"id"`
|
||||
Id int64 `json:"id,string"`
|
||||
Type string `json:"type"`
|
||||
Amount string `json:"amount"`
|
||||
Description string `json:"description"`
|
||||
|
||||
Reference in New Issue
Block a user