} protected function findModel($id) { if (($model = PostModel::findOne($id)) !== null) { return $model; } else { throw new NotFoundHttpException('The requested page does not exist.'); } } /** * 查看更多 * @return string */ public function actionMoredata() {
$_GET = [ 'id' => '194', 's' => '/post/194.html', 'title' => '紧急公告:公众号迁移期间 活动体验将暂时关闭', ];