diff --git a/application/admin/controller/shopro/commission/Level.php b/application/admin/controller/shopro/commission/Level.php index 1fe66c0..7355dc2 100644 --- a/application/admin/controller/shopro/commission/Level.php +++ b/application/admin/controller/shopro/commission/Level.php @@ -19,6 +19,8 @@ class Level extends Common try { parent::_initialize(); $this->model = new LevelModel(); + } catch (\think\exception\HttpResponseException $e) { + throw $e; } catch (\Throwable $e) { header('Content-Type: application/json; charset=utf-8'); echo json_encode([ @@ -57,6 +59,8 @@ class Level extends Common $list = $this->model->sheepFilter()->select(); $this->success('全部等级', null, $list); + } catch (\think\exception\HttpResponseException $e) { + throw $e; } catch (\Throwable $e) { header('Content-Type: application/json; charset=utf-8'); echo json_encode([