This commit is contained in:
laodaming
2023-10-07 18:09:17 +08:00
parent 6aa842e328
commit 0350315354
9 changed files with 290 additions and 0 deletions

23
server_api/collection.api Normal file
View 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"`
}