Exemple #1
0
 public function actionIndex()
 {
     $bookinfo = new bookinfo();
     $article = new article();
     $Pinyin = new TransPinyin();
     $update = new IndexModel();
     $update = $update->Get_Now_update();
     $Recommendation_Right = $bookinfo->Recommendation_Right();
     $bookinfo_updata = $bookinfo->Home_New_Book_updata();
     return $this->render('index', ['Now_Update' => $update, 'Home_Recommended' => $bookinfo, 'Pinyin' => $Pinyin, 'Recommendation_Right' => $Recommendation_Right, 'Home_New_Book_updata' => $bookinfo_updata]);
 }