|
@@ -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);
|