fix: int64 ID 字段序列化为 JSON string
This commit is contained in:
@@ -27,9 +27,9 @@ type PageReq struct {
|
||||
}
|
||||
|
||||
type Review struct {
|
||||
Id int64 `json:"id"`
|
||||
OrderId int64 `json:"orderId"`
|
||||
FromUserId int64 `json:"fromUserId"`
|
||||
Id int64 `json:"id,string"`
|
||||
OrderId int64 `json:"orderId,string"`
|
||||
FromUserId int64 `json:"fromUserId,string"`
|
||||
FromUserName string `json:"fromUserName"`
|
||||
Rating int `json:"rating"`
|
||||
Content string `json:"content"`
|
||||
|
||||
Reference in New Issue
Block a user