abstrakt:<?php namespace app\admin\controller; // 引入框架控制器 use think\Controller; // 繼承框架控制器 class Index extends Controller { // 后臺(tái)首頁(yè) &nbs
<?php namespace app\admin\controller; // 引入框架控制器 use think\Controller; // 繼承框架控制器 class Index extends Controller { // 后臺(tái)首頁(yè) public function index() { // 渲染模板 return $this->fetch(); } // 后臺(tái)歡迎頁(yè)面 public function welcome() { // 渲染模板 return $this->fetch(); } }
Korrigierender Lehrer:查無(wú)此人Korrekturzeit:2019-04-25 13:38:43
Zusammenfassung des Lehrers:完成的不錯(cuò)。渲染頁(yè)面后,要寫(xiě)邏輯了。繼續(xù)加油。