fix:图片裁剪
This commit is contained in:
@@ -13,10 +13,23 @@ service resource {
|
||||
@handler LogoCombineHandler
|
||||
post /api/resource/logo-combine(LogoCombineReq) returns (response);
|
||||
|
||||
@handler LogoRemovebgHandler
|
||||
post /api/resource/logo-removebg(LogoRemovebgReq) returns (response);
|
||||
|
||||
@handler ResourceInfoHandler
|
||||
get /api/resource/info(ResourceInfoReq) returns (response);
|
||||
}
|
||||
|
||||
type (
|
||||
LogoRemovebgReq {
|
||||
IsRemoveBg string `form:"is_remove_bg"`
|
||||
LogoFile string `form:"logo_file"`
|
||||
Width string `form:"width"`
|
||||
Height string `form:"height"`
|
||||
Proportion int64 `form:"proportion"`
|
||||
}
|
||||
)
|
||||
|
||||
type (
|
||||
ResourceInfoReq {
|
||||
ResourceId string `form:"resource_id,optional"` // 资源ID
|
||||
|
||||
Reference in New Issue
Block a user