<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## 自動創建模型文件 模型文件存放在 work/項目/model目錄中 ~~~ // 本例默認認為已經在數據庫中創建好需要的數據表,并配配置好了Mysql.php配置信息, // 可以正常連接到數據庫 // 在命令行中執行一下命令,可以增量創建模型文件 php index.php model ~~~ <br/> ## 手工創建模型文件 模型文件名規則:不帶前綴的數據表名(首字母大寫).php ~~~ <?PHP // 例如數據表名為:test_table // 在conf/Mysql.php中配置項 “PREFIX” 填寫 test_表示數據表前綴 // 則模型文件名為 Table.php namespace model; use eapi\Model; class Table extends Model{ public function __construct() { parent::__construct(); // 數據表名,不包括表前綴 $this->table = 'account'; // 數據表別名,可以不設置,一般在有連表查詢的情況下需要設置 $this->alias = 'a'; // 主鍵,默認為id $this->pk = 'id'; // 是否自動打時間標記 $this->timestamps = FALSE; // 添加時間字段名 $this->createAt = 'create_at'; // 更新時間字段名 $this->updateAt = 'update_at'; } } ~~~
                  <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>

                              哎呀哎呀视频在线观看