<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 功能強大 支持多語言、二開方便! 廣告
                :-: 分銷商品 文件路徑:shop/controllers/Seller/Supplier/GoodsCtl.php; ##### 后臺數據 出售中的商品(online()): $cront_row = array('shop_id' => Perm::$shopId,'common_parent_id:>'=>0, 'common_state' => Goods_CommonModel::GOODS_STATE_NORMAL, 'common_verify' => Goods_CommonModel::GOODS_VERIFY_ALLOW); // 如果有搜索單號 $cront_row['common_name:like'] = '%' . $goods_key . '%'; $goods_rows = $Goods_CommonModel->getCommonNormal($cront_row, array('common_id' => 'DESC'), $page, $row); public function getCommonNormal($cond_row = array(), $order_row = array(), $page = 1, $rows = 100) { $cond_row['shop_id'] = Perm::$shopId; $cond_row['common_state'] = Goods_CommonModel::GOODS_STATE_NORMAL; return $this->listByWhere($cond_row, $order_row, $page, $rows); } 倉庫中的商品(offline()): $cront_row = array('shop_id' => Perm::$shopId,'common_parent_id:>'=>0); $cront_row = array('common_name:like' => '%' . $goods_key . '%'); $goods_rows = $Goods_CommonModel->getCommonOffline($cront_row, array('common_id' => 'DESC'), $page, $row); public function getCommonOffline($cond_row = array(), $order_row = array(), $page = 1, $rows = 100) { $cond_row['shop_id'] = Perm::$shopId; $cond_row['common_state'] = Goods_CommonModel::GOODS_STATE_OFFLINE; //下架 $cond_row['common_goods_from'] = 1; //不是外部導入商品(外部導入商品上架后屬于正常商品,撕掉外部導入標簽) if (Web_ConfigModel::value('goods_verify_flag') == 1) { $cond_row['common_verify'] = Goods_CommonModel::GOODS_VERIFY_ALLOW; //審核通過 } return $this->listByWhere($cond_row, $order_row, $page, $rows); } 等待審核的商品(verify()): $cront_row = array('shop_id' => Perm::$shopId,'common_parent_id:>'=>0); $cront_row = array('common_name:like' => '%' . $goods_key . '%'); $goods_rows = $Goods_CommonModel->getCommonVerifyWaiting($cront_row, array('common_id' => 'DESC'), $page, $row); public function getCommonVerifyWaiting($cond_row = array(), $order_row = array(), $page = 1, $rows = 100) { $cond_row['shop_id'] = Perm::$shopId; $cond_row['common_state:IN'] = [Goods_CommonModel::GOODS_STATE_OFFLINE, Goods_CommonModel::GOODS_STATE_NORMAL, Goods_CommonModel::GOODS_STATE_TIMING]; $cond_row['common_verify'] = Goods_CommonModel::GOODS_VERIFY_WAITING; return $this->listByWhere($cond_row, $order_row, $page, $rows); } ##### 前臺顯示 前臺顯示與商品列表中顯示一致
                  <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>

                              哎呀哎呀视频在线观看