diff --git a/app/api/controller/Index.php b/app/api/controller/Index.php index 4e5710d9..591433cc 100755 --- a/app/api/controller/Index.php +++ b/app/api/controller/Index.php @@ -209,12 +209,40 @@ class Index extends Api "link"=>'/bundle_b/pages/local_settled/index', "link_type"=>1, "is_set"=>0 - ) + ), + array( + "image"=>'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/all_service.png', + "name"=>'企业服务', + "is_tab"=> 0, + "link"=>'/bundle_b/pages/local_shop_category/index', + "link_type"=>1, + "is_set"=>0 + ) ); return JsonServer::success('查询成功', $arr); - // return JsonServer::success('查询成功', []); - } + public function getLocalMenu() + { + $arr = array( + array( + "image"=>'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/bundle_b/local_shop/store_manager.png', + "name"=>'商家信息', + "is_tab"=> 0, + "link"=>'/bundle_b/pages/local_shop/local_shop', + "link_type"=>1, + "is_set"=>0 + ), + array( + "image"=>'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/bundle_b/local_shop/store_settled.png', + "name"=>'商家入驻', + "is_tab"=> 0, + "link"=>'/bundle_b/pages/local_settled/index', + "link_type"=>1, + "is_set"=>0 + ) + ); + return JsonServer::success('查询成功', $arr); + } } \ No newline at end of file