mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
生成的时候伪删除改为真删除
This commit is contained in:
parent
d1d78d8cbc
commit
e07e512d05
@ -47,6 +47,8 @@ class SystemRouteDao extends BaseDao
|
||||
*/
|
||||
public function deleteRoutes(array $ids)
|
||||
{
|
||||
return $this->getModel()->where('id', 'in', $ids)->delete();
|
||||
return $this->getModel()::destroy(function ($q) use ($ids) {
|
||||
$q->whereIn('id', $ids);
|
||||
}, true);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user