This commit is contained in:
laodaming 2023-08-17 16:17:25 +08:00
parent cda5c69f4f
commit 509e82db63

View File

@ -48,10 +48,6 @@ func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq, userinfo *a
logx.Error("渲染回调参数错误invalid param image")
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid param image")
}
if req.UserId == 0 && req.GuestId == 0 {
logx.Error("渲染回调参数错误invalid user_id or guest_id")
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid user_id or guest_id")
}
// 上传文件
var upload = file.Upload{
Ctx: l.ctx,