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