thinkphp5.1 使用success();和error();要注意的点 public function succ() { $this->success(); $this->error(); } 这里的$this-> 老是忘掉 记录一下