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

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                新增數據 ~~~ $addup = [ 'amount' => $price_b, //訂單金額 'status' => '1', 'finish_time' => time(), //訂單支付完成時間 ]; $xb_order = Db::name('contract')->insertGetId($adddata); if ($xb_order) { $this -> success('創建成功',"/abt/index/order_list/"); // $this->redirect("/abt/index/pay_order/?order_id={$order_id}"); }else{ $this -> error('創建失敗'); } ~~~ 修改數據 ~~~ // 修改訂單狀態 $addup = [ 'amount' => $price_b, //訂單金額 'status' => '1', 'finish_time' => time(), //訂單支付完成時間 ]; $xb_order = Db::name('order')->where(["order_id" => $order_id])->update($addup); if ($xb_order) { $this -> success('修改成功',"/abt/index/order_list/"); // $this->redirect("/abt/index/pay_order/?order_id={$order_id}"); }else{ $this -> error('創建失敗'); } ~~~ 刪除數據 ~~~ // 刪除數據 if ($_G['del']=='1'){ $where_del = [ 'order_id' => trim($_G['order_id']), 'uid'=>$_W['mc_uid'], ]; $xb_del = Db::name('order')->where($where_del)->delete(); if ($xb_del){ $this -> success('刪除成功'); }else{ $this -> error('刪除失敗'); } } ~~~ 其他 ~~~ // 數字 字段值+1 Db::name('coupon')->where(["coupon_id" => $order_cb['coupon_id']])->setInc('stock',1); // 數字 字段值-1 Db::name('coupon')->where(["coupon_id" => $order_cb['coupon_id']])->setDec('stock',1); ~~~
                  <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>

                              哎呀哎呀视频在线观看