fix:更新测试环境
This commit is contained in:
parent
a587a19dbf
commit
9b0a18fcd8
|
@ -168,5 +168,12 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
||||||
return resp.SetStatus(basic.CodeFileUploadLogoErr, "service fail")
|
return resp.SetStatus(basic.CodeFileUploadLogoErr, "service fail")
|
||||||
}
|
}
|
||||||
|
|
||||||
return resp.SetStatus(basic.CodeOK)
|
// 返回成功的响应和上传URL
|
||||||
|
return resp.SetStatus(basic.CodeOK, map[string]interface{}{
|
||||||
|
"upload_data": UploadUrl{
|
||||||
|
Status: 1,
|
||||||
|
ResourceId: uploadRes.ResourceId,
|
||||||
|
ResourceUrl: uploadRes.ResourceUrl,
|
||||||
|
},
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user