Explorar el Código

关闭政策录入修复

sugangqiang hace 2 años
padre
commit
29ff8a8a7c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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() {