Browse Source

关闭政策录入修复

sugangqiang 2 years ago
parent
commit
29ff8a8a7c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/admin/controller/Policy.php

+ 2 - 1
app/admin/controller/Policy.php

@@ -23,7 +23,8 @@ class Policy extends AdminController {
     public function __construct(\think\App $app) {
         parent::__construct($app);
         $this->companyId = $this->user["companyId"];
-        return json(["msg" => "政策录入已经结束"]);
+        echo "政策录入已经结束";
+        exit();
     }
 
     public function index() {