diff --git a/app/api/controller/Index.php b/app/api/controller/Index.php index 4e5710d9..b1a5e346 100755 --- a/app/api/controller/Index.php +++ b/app/api/controller/Index.php @@ -193,6 +193,21 @@ class Index extends Api // 控制显示本地生活 public function setHome(){ + $arr = array( + 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); + } + + public function getLocalMenu() + { $arr = array( array( "image"=>'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/bundle_b/local_shop/store_manager.png', @@ -211,10 +226,7 @@ class Index extends Api "is_set"=>0 ) ); + return JsonServer::success('查询成功', $arr); - // return JsonServer::success('查询成功', []); - } - - } \ No newline at end of file