diff --git a/app/Service/v3/Implementations/UserCenterBlockService.php b/app/Service/v3/Implementations/UserCenterBlockService.php index ebfe12a..14777b9 100644 --- a/app/Service/v3/Implementations/UserCenterBlockService.php +++ b/app/Service/v3/Implementations/UserCenterBlockService.php @@ -54,15 +54,15 @@ class UserCenterBlockService implements UserCenterBlockServiceInterface foreach ($roles as $key => $item) { # code... - if($item['key'] == 'store'){ - $goodsEditor = [ - 'name' => '商品管理', 'icon' => $img_host . 'user_icons/service2.png', - 'type' => 'webview', - 'path' => 'http://localhost:8080/#/pages/goodsManagement/goodsManagement?market_id='.$item['data']['market_id'].'&user_id='.$item['data']['user_id'].'&store_id='.$item['data']['id'], - 'command'=>'sp_login' - ]; - array_push($blocks[1]['items'],$goodsEditor); - } + // if($item['key'] == 'store'){ + // $goodsEditor = [ + // 'name' => '商品管理', 'icon' => $img_host . 'user_icons/service2.png', + // 'type' => 'webview', + // 'path' => 'http://localhost:8080/#/pages/goodsManagement/goodsManagement?market_id='.$item['data']['market_id'].'&user_id='.$item['data']['user_id'].'&store_id='.$item['data']['id'], + // 'command'=>'sp_login' + // ]; + // array_push($blocks[1]['items'],$goodsEditor); + // } if($item['key'] == 'sp'){ $blocks[] = [ @@ -72,7 +72,7 @@ class UserCenterBlockService implements UserCenterBlockServiceInterface ['name' => '评价', 'icon' => $img_host . 'user_icons/service2.png', 'type' => 'page', 'path' => '/zh_cjdianc/pages/appraise/index?service_personnel_id='.$item['data']['id'],'command'=>'sp_login'], [ 'name' => '商品管理', 'icon' => $img_host . 'user_icons/service2.png', - 'type' => 'webview', + 'type' => 'page', 'path' => '/pages/shopList/shopList?personal_id='.$item['data']['id'], 'command'=>'sp_login' ]