<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國際加速解決方案。 廣告
                ## Model > Fend 原生模型,模型分為 讀 和 寫兩個。目錄: `lib\Model` 下。 ### 示例: #### 讀: ``` <?php /** * 訂單支付日志數據表 * * @author lea21st <lea21st@qq.com> * @date 2019-05-07 * @version 1.0.0 * */ class Model_Pay_Logs_Read extends Db_Read { /** * 表名 * * @var string */ protected $table = "qk_pay_logs"; /** * Db 名稱 * * @var string */ protected $dbName = "Db_Shop"; // your code } ``` #### 寫: ``` <?php /** * 訂單支付日志數據表 * * @author lea21st <lea21st@qq.com> * @date 2019-05-07 * @version 1.0.0 * */ class Model_Pay_Logs_Write extends Db_Write { /** * 表名 * * @var string */ protected $table = "qk_pay_logs"; /** * Db 名稱 * * @var string */ protected $dbName = "Db_Shop"; /** * 白名單 * * @var array */ protected $fillable = [ // fields list 'id' => 0, //編號 'uid' => 0, //支付UID 'orderid' => 0, //訂單ID 'ptype' => 0, //支付方式 0:未知;1支付寶;2微信;3蘋果;4華為;5微信公眾號;6魅族;7vivo; 'type' => 0, //類型 0:預支付訂單;1支付成功回調;2零元支付;3退款;4其它回調 'requestdata' => '', //主動請求數據序列化 'response' => '', //對方響應數據序列化 'debug' => '', //調試數據序列化 'url' => '', //請求URL 'ctime' => 0, //創建時間 ]; /** * saving * * @param $data * @return mixed */ public function saving($data) { // your code return $data; } /** * saved * * @param $data * @return mixed */ public function saved($data) { // your code return $data; } /** * creating * * @param $data * @return mixed */ public function creating($data) { // your code return $data; } /** * updating * * @param $data * @return mixed */ public function updating($data) { // your code return $data; } /** * updated * * @param $data * @return mixed */ public function updated($data) { // your code return $data; } // your code } ``` > 可以使用命令根據表結構自動生成 `php exec/cli_cron.php xxx.xxxxx.xx build`
                  <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>

                              哎呀哎呀视频在线观看