dyjh hace 6 años
padre
commit
b7dbd3c1e7

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumPosterController.php

xqd
@@ -95,7 +95,7 @@ class AlbumPosterController extends Controller
         $datas['avatar'] = $userAuth->avatar;
         $datas['share'] = $WeChatApp->share_image;
         $datas['title'] = $WeChatApp->share_title;
-        $datas['personalQrcode'] = $this->createPosterPersonal($WeChatApp, $store_id);
+        $datas['personalQrcode'] = $this->createPosterPersonal($WeChatApp, $store_id);dd(111);
         $datas['qrcode'] = $this->createPoster($userAuth, $store_id);
         return $this->api(compact('datas'));
     }

+ 5 - 5
resources/views/admin/base/role/index.blade.php

xqd
@@ -65,25 +65,25 @@
 										</button>
 										<ul class="dropdown-menu">
 											@if(role('Foundation/Role/update'))
-										    <li><a href="{{ U('Base/Role/update')}}?id={{ $item->id }}" class="font-bold">修改</a></li>
+										    <li><a href="{{ U('Base/Role/update',['id'=>$item->id])}}" class="font-bold">修改</a></li>
 											@endif
 
 											@if(role('Foundation/Role/auth'))
-											<li><a href="{{ U('Base/Role/auth')}}?id={{ $item->id }}" class="font-bold">授权</a></li>
+											<li><a href="{{ U('Base/Role/auth',['id'=>$item->id])}}" class="font-bold">授权</a></li>
 											@endif
 
 											@if(role('Foundation/Role/status'))
 												<li class="divider"></li>
 												@if($item->status == 1)
-												<li><a href="{{ U('Base/Role/status')}}?id={{ $item->id }}&status=0" >禁用</a></li>
+												<li><a href="{{ U('Base/Role/status',['id'=>$item->id])}}&status=0" >禁用</a></li>
 												@else
-												<li><a href="{{ U('Base/Role/status')}}?id={{ $item->id }}&status=1" >启用</a></li>
+												<li><a href="{{ U('Base/Role/status',['id'=>$item->id])}}&status=1" >启用</a></li>
 												@endif
 											@endif
 
 											@if(role('Foundation/Role/destroy'))
 											<li class="divider"></li>
-											<li><a href="{{ U('Base/Role/destroy')}}?id={{ $item->id }}" onclick="return confirm('你确定执行删除操作?');">删除</a></li>
+											<li><a href="{{ U('Base/Role/destroy',['id'=>$item->id])}}" onclick="return confirm('你确定执行删除操作?');">删除</a></li>
 											@endif
 										</ul>
 									</div>

+ 8 - 0
routes/web.php

xqd
@@ -49,6 +49,14 @@ $apiRoute = [
     'api/album/content_detail' => ['real' => 'Api/V1/Album/albumContentDetail','method'=>'get','auth'=>true],
     'api/album/set-phone' => ['real' => 'Api/V1/Album/albumSavePhone','method'=>'post','auth'=>true],
     'api/album/add_agent' => ['real' => 'Api/V1/Album/albumAddAgent','method'=>'post','auth'=>true],
+    'api/album/get-cart-of-watch' => ['real' => 'Api/V1/Album/albumGetCartOfWatch','method'=>'post','auth'=>true],
+    'api/album/get-watch-recored' => ['real' => 'Api/V1/Album/albumGetWatchRecord','method'=>'post','auth'=>true],
+    'api/album/set-watch' => ['real' => 'Api/V1/Album/albumSetWatch','method'=>'post','auth'=>true],
+    'api/album/save_form_id' => ['real' => 'Api/V1/Album/albumSaveFormId','method'=>'post','auth'=>true],
+    'api/album/search_goods' => ['real' => 'Api/V1/Album/albumSearchGoods','method'=>'get','auth'=>true],
+    'api/album/add_favorite' => ['real' => 'Api/V1/Album/albumAddFavorite','method'=>'get','auth'=>true],
+    'api/album/get-agent-address' => ['real' => 'Api/V1/Album/albumGetAgentAdress','method'=>'get','auth'=>true],
+
 
 
 ];