stats hozo add 350600 bizs
This commit is contained in:
@@ -89,8 +89,8 @@ class order extends HD_Controller
|
||||
3 => ['biz_name' => '厦门哪吒订单中心', 'city_id' => '350200', 'show' => 'order'],
|
||||
4 => ['biz_name' => '泉州哪吒订单中心', 'city_id' => '350500', 'show' => 'order'],
|
||||
5 => ['biz_name' => '福州哪吒订单中心', 'city_id' => '350100', 'show' => 'order'],
|
||||
6 => ['biz_name' => '哪吒品牌店', 'type' => 1, 'show' => 'order'],
|
||||
7 => ['biz_name' => '哪吒代理店', 'type' => 3, 'show' => 'order'],
|
||||
6 => ['biz_name' => '漳州哪吒品牌店', 'type' => 1, 'city_id' => '350600', 'show' => 'order'],
|
||||
7 => ['biz_name' => '漳州哪吒代理店', 'type' => 3, 'city_id' => '350600', 'show' => 'order'],
|
||||
];
|
||||
$res = $this->commonSelect($params, $config);
|
||||
$this->data['info'] = $res['info'];
|
||||
@@ -402,7 +402,7 @@ class order extends HD_Controller
|
||||
foreach ($bizs as $k => $v) {
|
||||
$str_ids = $v['ids'] ? $v['ids'] : '';
|
||||
if (!$str_ids) {
|
||||
$where_b = $v['city_id'] ? ['city_id' => $v['city_id']] : [];
|
||||
$where_b = ['city_id' => $v['city_id']];
|
||||
$v['type'] && $where_b['type'] = $v['type'];
|
||||
$v['not_ids'] && $where_b["id not in({$v['not_ids']})"] = null;
|
||||
$res = $this->mdBiz->select($where_b, 'id desc', 0, 0, 'id');
|
||||
|
||||
Reference in New Issue
Block a user