diff --git a/internal/biz/task.go b/internal/biz/task.go index 1c9a39f..277a97e 100644 --- a/internal/biz/task.go +++ b/internal/biz/task.go @@ -70,6 +70,7 @@ func (t *TaskBiz) GetUserPermission(req *entitys.TaskRequest, auth string) (code // 发送请求 res, err := request.Send() if err != nil { + err = errors.SysErr("请求用户权限失败") return }