配置修改

This commit is contained in:
2026-04-18 12:15:11 +08:00
parent b18d1595a4
commit 344ca5a2ce

View File

@ -365,6 +365,19 @@ class GoodsLogic extends Logic
self::recordKeyword(trim($get['keyword']), $get['user_id']); 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 // 店铺id
if(isset($get['shop_id']) && !empty($get['shop_id']) && filter_var($get['shop_id'], FILTER_VALIDATE_INT)) { if(isset($get['shop_id']) && !empty($get['shop_id']) && filter_var($get['shop_id'], FILTER_VALIDATE_INT)) {