This commit is contained in:
苏尹岚
2020-12-17 09:39:51 +08:00
parent 5f96b68e5e
commit f1dc696967
3 changed files with 6 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (errCode string, e
if job.Address == "" {
return errCode, fmt.Errorf("外卖推广任务请输入门店地址!")
}
case model.JobCategoryIDOther:
default:
return errCode, fmt.Errorf("暂不支持的任务类型! %v", job.JobCategoryID)
}