feat:合图功能,封装上传base64等等
This commit is contained in:
23
server_api/resource.api
Normal file
23
server_api/resource.api
Normal file
@@ -0,0 +1,23 @@
|
||||
syntax = "v1"
|
||||
|
||||
info (
|
||||
title: // TODO: add title
|
||||
desc: // TODO: add description
|
||||
author: ""
|
||||
email: ""
|
||||
)
|
||||
|
||||
import "basic.api"
|
||||
|
||||
service resource {
|
||||
@handler LogoCombineHandler
|
||||
post /api/resource/logo-combine(LogoCombineReq) returns (response);
|
||||
}
|
||||
|
||||
type (
|
||||
LogoCombineReq {
|
||||
ResourceKey string `form:"resource_key"` // 资源唯一标识
|
||||
CombineParam string `form:"combine_param"` // 合图参数
|
||||
TemplateId int64 `form:"template_id"` // 合图参数
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user