Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
72e9156e32
|
@ -197,7 +197,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
// logo_url:"https://s3.amazon.com/xxxx",
|
// logo_url:"https://s3.amazon.com/xxxx",
|
||||||
// result: "$saa541afaldjaldjasldjsadjsapsaasda"
|
// result: "$saa541afaldjaldjasldjsadjsapsaasda"
|
||||||
// }
|
// }
|
||||||
var fileBase = resultData["result"]
|
var fileBase = resultData["result"].(string)
|
||||||
|
|
||||||
// 上传文件
|
// 上传文件
|
||||||
var upload = file.Upload{
|
var upload = file.Upload{
|
||||||
|
@ -208,7 +208,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
uploadRes, err := upload.UploadFileByBase64(&file.UploadBaseReq{
|
uploadRes, err := upload.UploadFileByBase64(&file.UploadBaseReq{
|
||||||
Source: "combine-image",
|
Source: "combine-image",
|
||||||
FileHash: resourceId,
|
FileHash: resourceId,
|
||||||
FileData: fileBase.(string),
|
FileData: fileBase,
|
||||||
UploadBucket: 1,
|
UploadBucket: 1,
|
||||||
ApiType: 2,
|
ApiType: 2,
|
||||||
UserId: in.UserId,
|
UserId: in.UserId,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user