This commit is contained in:
苏尹岚
2020-12-10 09:32:20 +08:00
parent 680a7df34d
commit df8452f7de

View File

@@ -61,7 +61,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (errCode string, e
// 需根据任务类型做一些参数判断,比如门店商品链接,地址
switch job.JobCategoryID {
case model.JobCategoryIDwmtg:
if job.StoreURL == "" || job.Address == "" {
if job.Address == "" {
return errCode, fmt.Errorf("外卖推广任务请输入门店信息!")
}
default: