配置修改
This commit is contained in:
@ -365,6 +365,19 @@ class GoodsLogic extends Logic
|
||||
self::recordKeyword(trim($get['keyword']), $get['user_id']);
|
||||
}
|
||||
}
|
||||
if(isset($get['city_id']) && !empty($get['city_id'])) {
|
||||
$shop_msg = Shop::where("city_id",$get['city_id'])
|
||||
->where("is_run",1)
|
||||
->where("is_freeze",0)
|
||||
->where("del",0)
|
||||
->find();
|
||||
$c = "";
|
||||
if($shop_msg == null){
|
||||
$get['shop_id'] = 1;
|
||||
}else{
|
||||
$get['shop_id'] = $shop_msg['id'];
|
||||
}
|
||||
}
|
||||
|
||||
// 店铺id
|
||||
if(isset($get['shop_id']) && !empty($get['shop_id']) && filter_var($get['shop_id'], FILTER_VALIDATE_INT)) {
|
||||
|
||||
Reference in New Issue
Block a user