edit-admin-goods_status
This commit is contained in:
@@ -8,7 +8,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
*/
|
||||
class Goods extends HD_Controller
|
||||
{
|
||||
private $statusAry = array(0 => '下架', 1 => '未售', 2 => '已售');
|
||||
private $statusAry = array( 1 => '未售', 2 => '已售');
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
@@ -31,7 +31,7 @@ class Goods extends HD_Controller
|
||||
$params = $this->input->get();
|
||||
$page = $params['page'] = $params['page'] ? intval($params['page']) : 1;
|
||||
$size = $params['size'] = $params['size'] ? intval($params['size']) : 20;
|
||||
$where = array('id<>1' => null);
|
||||
$where = array('id<>1' => null,'status>'=>0);
|
||||
$where_1 = $where_2 = $where_3 = array('m.id<>1' => null);
|
||||
$autoList = array();
|
||||
$search_type = 0;//0不连表,1联表筛选精品,2联表筛选销售,3联表筛选精品和销售
|
||||
|
||||
Reference in New Issue
Block a user