|
|
@@ -4432,15 +4432,11 @@ namespace App;
|
|
|
->fetchAll();
|
|
|
$shop_list = [];
|
|
|
foreach($rs as &$v){
|
|
|
- $shopwhere =[];
|
|
|
- $shopwhere[] = ['uid','=',$v['uid']];
|
|
|
+ $shopwhere['uid'] = $v['uid'];
|
|
|
if(!empty($province)){
|
|
|
- $shopwhere[]=['province','=',$province];
|
|
|
- }
|
|
|
-
|
|
|
- if(!empty($name)){
|
|
|
- $shopwhere[]=['name','like','%'.$name.'%'];
|
|
|
+ $shopwhere['province']=$province;
|
|
|
}
|
|
|
+
|
|
|
$shop_info=\PhalApi\DI()->notorm->shop_apply
|
|
|
->select('uid,name,thumb,username,sale_nums,service_points,province')
|
|
|
->where($shopwhere)
|