...
|
...
|
@@ -219,6 +219,9 @@ class AdminLightOrderController extends AdminBaseController |
|
|
public function delete()
|
|
|
{
|
|
|
$id = $this->request->param('id');
|
|
|
$light_order=Db::name('light_order')->where('id', $id)->find();
|
|
|
$lightService= new service\LightService();
|
|
|
$lightService->lightChange($light_order['light_id'],'00','00');
|
|
|
Db::name('light_order')->where('id', $id)->delete();
|
|
|
$this->success('删除成功');
|
|
|
}
|
...
|
...
|
|