ZxcZxc123 пре 1 година
родитељ
комит
8e8409333b
2 измењених фајлова са 7 додато и 0 уклоњено
  1. 6 0
      app/api/controller/PublicController.php
  2. 1 0
      route/api/route.php

+ 6 - 0
app/api/controller/PublicController.php

@@ -301,6 +301,12 @@ class PublicController
 
 
 
+    /**
+     * 门店详情
+     * @param Request $request
+     * @param int $id
+     * @return mixed
+     */
     public function store_detail(Request $request, $id)
     {
         list($latitude, $longitude) = UtilService::getMore([

+ 1 - 0
route/api/route.php

@@ -229,6 +229,7 @@ Route::group(function () {
 
     //门店列表
     Route::get('store_list', 'PublicController/store_list')->name('storeList');
+    Route::get('store_detail/:id', 'PublicController/store_detail')->name('storeDetail');
     //获取城市列表
     Route::get('city_list', 'PublicController/city_list')->name('cityList');