fix
This commit is contained in:
parent
0457da48c4
commit
be6b6a5076
|
@ -37,11 +37,11 @@ func NewRenderNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Rend
|
|||
|
||||
func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq, userinfo *auth.UserInfo) (resp *basic.Response) {
|
||||
if req.TaskId == "" {
|
||||
logx.Error("渲染回调参数错误:invalid param task_id")
|
||||
logx.Error("渲染回调参数错误:任务标识")
|
||||
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid param task_id")
|
||||
}
|
||||
if req.Image == "" {
|
||||
logx.Error("渲染回调参数错误:invalid param image")
|
||||
logx.Error("渲染回调参数错误:渲染结果图片数据")
|
||||
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid param image")
|
||||
}
|
||||
//存base64打印测试
|
||||
|
|
Loading…
Reference in New Issue
Block a user