|
|
@@ -40,7 +40,7 @@ class Home extends Base
|
|
|
"cover" => "https://washmy.oss-cn-guangzhou.aliyuncs.com/storage/dc7fd761c2e2af9c340f20677f8f115d942f0bde.png"
|
|
|
]
|
|
|
];
|
|
|
- $store = (new SaasStore)->where("poi_id",$param['store'])->field("poi_name,start_at,end_at,longitude,latitude,service_mobile,poi_id")->findOrEmpty();
|
|
|
+ $store = (new SaasStore)->where("poi_id",$param['store'])->field("poi_name,start_at,end_at,longitude,latitude,service_mobile,poi_id,poi_city,poi_address")->findOrEmpty();
|
|
|
$goods = (new SaasGoods)->where("poi_id",$param['store'])->where("status",1)->field("product_id,product_name,image_list,category,price,line_price,sale_stock,id")->limit(10)->order('id','desc')->select()->toArray();
|
|
|
return success("ok",compact('banner','store','goods'));
|
|
|
} catch (\Throwable $th) {
|