'请输入正确的电话号码'], ]; } public function getList($input) { $query = self::find(); $query->offset(($input['page']-1)*$input['limit']); $query->limit($input['limit']); return $query->asArray()->all(); } public function getTotal() { $query = self::find(); return $query->count(); } }