@@ -878,6 +878,8 @@ return array
'town' => 'yes',
'is_agent' => 'yes',
'area' => array('yes', 'like'),
+ 'type' => array('yes', 'in'),
+ 'status' => 'yes',
'state' => 1,
),
'type' => 'all',
@@ -146,7 +146,8 @@ class My extends Core
# 获取门店
public function getShop()
{
- $where['type'] = 10;
+ $where['type'] = '1,10';
+ $where['status'] = 1;
$where['area'] = Dever::input('area');
$where['is_agent'] = 1;
$this->data['shop'] = Dever::db('shop/info')->getAllByType($where);