Browse Source

个人中心

master
Lemon 5 years ago
parent
commit
5510c50140
  1. 16
      app/Service/v3/Implementations/UserCenterBlockService.php

16
app/Service/v3/Implementations/UserCenterBlockService.php

@ -47,7 +47,13 @@ class UserCenterBlockService implements UserCenterBlockServiceInterface
'type' => 'store_user', 'type' => 'store_user',
'title' => '商家相关', 'title' => '商家相关',
'items' => [ 'items' => [
['name' => '商家入口', 'icon' => $img_host . 'user_icons/shop_enter2.png', 'type' => 'page', 'path' => '/pages/shopLogin/shopLogin','command'=>'store_login']
['name' => '商家入口', 'icon' => $img_host . 'user_icons/shop_enter2.png', 'type' => 'page', 'path' => '/pages/shopLogin/shopLogin','command'=>'store_login'],
[
'name' => '商品管理', 'icon' => $img_host . 'user_icons/service2.png',
'type' => 'webview',
'path' => '/pages/webview/webview?data=%22%7bwebview_url%3a+%27http%3a%2f%2flocalhost%3a8080%2f%23%2fpages%2fgoodsManagement%2fgoodsManagement%3fmarket_id%3d1%26user_id%3d694%26store_id%3d5%27%7d%22',
'command'=>'sp_login'
]
] ]
]; ];
@ -69,7 +75,13 @@ class UserCenterBlockService implements UserCenterBlockServiceInterface
'type' => 'sp_user', 'type' => 'sp_user',
'title' => '服务专员', 'title' => '服务专员',
'items' => [ 'items' => [
['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' => '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',
'path' => '/pages/webview/webview?data=%22%7bwebview_url%3a+%27http%3a%2f%2flocalhost%3a8080%2f%23%2fpages%2fgoodsManagement%2fgoodsManagement%3fmarket_id%3d1%26user_id%3d694%26store_id%3d5%27%7d%22',
'command'=>'sp_login'
]
] ]
]; ];
} }

Loading…
Cancel
Save