public function succ() { $this->success(); $this->error(); } 这里的$this-> 老是忘掉 记录一下 转载于:https://www.cnblogs.com/xm666/p/10606717.html