fix: int64 ID 字段序列化为 JSON string
This commit is contained in:
@@ -7,7 +7,7 @@ type (
|
||||
Id int64 `path:"id"`
|
||||
}
|
||||
Notification {
|
||||
Id int64 `json:"id"`
|
||||
Id int64 `json:"id,string"`
|
||||
Type string `json:"type"`
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
@@ -38,3 +38,4 @@ service notifi-api {
|
||||
@handler ReadAllNotifications
|
||||
put /notifications/read-all (EmptyResp) returns (EmptyResp)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user