<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 快速生成控制器類 執行下面的指令可以生成`index`模塊的`Blog`控制器類庫文件 ~~~ >php think make:controller index/Blog ~~~ 生成的控制器類文件如下: ~~~ <?php namespace app\index\controller; use think\Controller; use think\Request; class Blog extends Controller { /** * 顯示資源列表 * * @return \think\Response */ public function index() { // } /** * 顯示創建資源表單頁. * * @return \think\Response */ public function create() { // } /** * 保存新建的資源 * * @param \think\Request $request * @return \think\Response */ public function save(Request $request) { // } /** * 顯示指定的資源 * * @param int $id * @return \think\Response */ public function read($id) { // } /** * 顯示編輯資源表單頁. * * @param int $id * @return \think\Response */ public function edit($id) { // } /** * 保存更新的資源 * * @param \think\Request $request * @param int $id * @return \think\Response */ public function update(Request $request, $id) { // } /** * 刪除指定資源 * * @param int $id * @return \think\Response */ public function delete($id) { // } } ~~~ 默認生成的控制器類繼承`\think\Controller` ,并且生成了資源操作方法,如果僅僅生成空的控制器則可以使用: ~~~ >php think make:controller index\Blog --plain ~~~ ## 快速生成模型類 執行下面的指令可以生成`index`模塊的`Blog`模型類庫文件 ~~~ >php think make:model index/Blog ~~~ 生成的模型類文件如下: ~~~ namespace app\index\model; use think\Model; class Blog extends Model { } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看