feat:合图功能,封装上传base64等等

This commit is contained in:
Hiven
2023-08-09 11:46:24 +08:00
parent 2f1ef81263
commit d810b87c09
13 changed files with 637 additions and 4 deletions

23
server_api/resource.api Normal file
View 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"` // 合图参数
}
)