fix:合图调整
This commit is contained in:
@@ -95,7 +95,6 @@ func (l *LogoCombineLogic) LogoCombine(req *types.LogoCombineReq, userinfo *auth
|
||||
res, err := l.svcCtx.Repositories.ImageHandle.LogoCombine(l.ctx, &repositories.LogoCombineReq{
|
||||
UserId: userId,
|
||||
GuestId: guestId,
|
||||
TemplateId: req.TemplateId,
|
||||
TemplateTag: req.TemplateTag,
|
||||
Website: req.Website,
|
||||
Slogan: req.Slogan,
|
||||
|
||||
@@ -28,13 +28,16 @@ type ResourceInfoReq struct {
|
||||
}
|
||||
|
||||
type LogoCombineReq struct {
|
||||
TemplateId int64 `form:"template_id"` // 合图参数
|
||||
TemplateTag string `form:"template_tag"` // 合图参数
|
||||
Website string `form:"website,optional"` // 合图参数
|
||||
Slogan string `form:"slogan,optional"` // 合图参数
|
||||
Address string `form:"address,optional"` // 合图参数
|
||||
Phone string `form:"phone,optional"` // 合图参数
|
||||
Qrcode string `form:"qrcode,optional"` // 合图参数
|
||||
LogoUrl string `json:"logo_url"` // 合图参数
|
||||
TemplateId int64 `json:"template_id"` // 合图参数
|
||||
TemplateTag string `json:"template_tag"` // 合图参数
|
||||
Color [][]string `json:"color"` // 颜色组合
|
||||
SelectedIndex int `json:"selected_index"` // 主色的下标索引
|
||||
Website string `json:"website,optional"` // 合图参数
|
||||
Slogan string `json:"slogan,optional"` // 合图参数
|
||||
Address string `json:"address,optional"` // 合图参数
|
||||
Phone string `json:"phone,optional"` // 合图参数
|
||||
Qrcode string `json:"qrcode,optional"` // 合图参数
|
||||
}
|
||||
|
||||
type Request struct {
|
||||
@@ -60,10 +63,10 @@ type File struct {
|
||||
}
|
||||
|
||||
type Meta struct {
|
||||
TotalCount int64 `json:"totalCount"`
|
||||
PageCount int64 `json:"pageCount"`
|
||||
CurrentPage int `json:"currentPage"`
|
||||
PerPage int `json:"perPage"`
|
||||
TotalCount int64 `json:"total_count"`
|
||||
PageCount int64 `json:"page_count"`
|
||||
CurrentPage int `json:"current_page"`
|
||||
PerPage int `json:"per_page"`
|
||||
}
|
||||
|
||||
// Set 设置Response的Code和Message值
|
||||
|
||||
Reference in New Issue
Block a user