fix: api descript
This commit is contained in:
+3
-4
@@ -3,9 +3,9 @@ import "common.api"
|
||||
|
||||
type (
|
||||
Review {
|
||||
Id string `json:"id"`
|
||||
OrderId string `json:"orderId"`
|
||||
FromUserId string `json:"fromUserId"`
|
||||
Id int64 `json:"id"`
|
||||
OrderId int64 `json:"orderId"`
|
||||
FromUserId int64 `json:"fromUserId"`
|
||||
FromUserName string `json:"fromUserName"`
|
||||
Rating int `json:"rating"`
|
||||
Content string `json:"content"`
|
||||
@@ -27,7 +27,6 @@ type (
|
||||
@server(
|
||||
prefix: api/v1
|
||||
group: review
|
||||
jwt: Auth
|
||||
)
|
||||
service juwan-api {
|
||||
@doc "提交评价"
|
||||
|
||||
Reference in New Issue
Block a user