where('uid', $uid) ->orderBy('id', 'desc') ->get(); } public function getStatusValueAttribute() { if ($this->status == 0) { return '修改中'; } elseif ($this->status == 2) { return '修改失败'; } return '修改成功'; } }