fix
This commit is contained in:
23
server_api/collection.api
Normal file
23
server_api/collection.api
Normal file
@@ -0,0 +1,23 @@
|
||||
syntax = "v1"
|
||||
|
||||
info (
|
||||
title: "collection"// TODO: add title
|
||||
desc: "收藏服务"// TODO: add description
|
||||
author: ""
|
||||
email: ""
|
||||
)
|
||||
|
||||
import "basic.api"
|
||||
service collection {
|
||||
//收藏产品
|
||||
@handler CollectProductHandler
|
||||
post /api/collection/collect_product(CollectProductReq) returns (response);
|
||||
}
|
||||
|
||||
//收藏产品
|
||||
type CollectProductReq {
|
||||
ProductId int64 `json:"product_id"`
|
||||
Logo string `json:"logo"`
|
||||
SelectColorIndex int64 `json:"select_color_index"`
|
||||
TemplateTag string `json:"template_tag"`
|
||||
}
|
||||
Reference in New Issue
Block a user