修改自动推广的相关任务
This commit is contained in:
@@ -221,7 +221,7 @@ class PromotionFactory extends Base
|
||||
return jsonError('Factory not found');
|
||||
}
|
||||
|
||||
Db::name('promotion_factory')->where('promotion_factory_id', $id)->update(['state' => 1]);
|
||||
Db::name('promotion_factory')->where('promotion_factory_id', $id)->delete();
|
||||
|
||||
return jsonSuccess([]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user