feat : sts
This commit is contained in:
@@ -181,8 +181,7 @@ class PurchaseService extends BaseService
|
||||
|
||||
if (empty($info)) throw new ErrException('数据不存在');
|
||||
|
||||
$info->delete();
|
||||
if (!$info->save()) throw new ErrException('删除失败');
|
||||
if (!$info->delete()) throw new ErrException('删除失败');
|
||||
|
||||
$this->goodCache->delPurchaseCache($info->kitchen_id,$info->cycle_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user