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

                新建訂單控制器 /apps/index/controller/Order.php ~~~ <?php namespace app\index\controller; use app\index\model\Order as OrderModel; use app\index\model\User as UserModel; use app\index\model\Template as TplModel; use think\Controller; use think\Request; use think\Db; use think\Cache; class Order extends Controller { public function index($ap=0) { } } ~~~ 編輯訂單模型 /apps/index/model/Order.php ~~~ protected $type = [ 'stime' => 'timestamp', 'etime' => 'timestamp', ]; // 自動完成顯示排序 protected $insert = ['displayorder' => 0]; // 訂購開始結束時間 讀取器 修改器 protected function getStimeAttr($stime) { return date('Y-m-d',$stime); } protected function setStimeAttr($value) { return strtotime($value); } protected function getEtimeAttr($etime) { return date('Y-m-d',$etime); } protected function setEtimeAttr($value) { return strtotime($value); } // 關聯產品 public function template() { return $this->belongsTo('Template','tid','tid'); } ~~~
                  <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>

                              哎呀哎呀视频在线观看