Commit 81d4c17a authored by hujun's avatar hujun

商圈

parent 6d31c533
...@@ -12,11 +12,11 @@ namespace app\index\controller; ...@@ -12,11 +12,11 @@ namespace app\index\controller;
class BusinessDistrict class BusinessDistrict
{ {
public function index() { public function index() {
return view('business_district/index');
} }
public function edit() { public function edit() {
return view('business_district/edit');
} }
public function del() { public function del() {
......
{layout name="global/frame_tpl" /}
<h1>商圈新增</h1>
\ No newline at end of file
{layout name="global/frame_tpl" /}
<h1>商圈列表</h1>
\ No newline at end of file
...@@ -42,6 +42,12 @@ ...@@ -42,6 +42,12 @@
<li role="presentation"> <li role="presentation">
<a href="/admin.php/index/houseEdit.html">新增商铺</a> <a href="/admin.php/index/houseEdit.html">新增商铺</a>
</li> </li>
<li role="presentation">
<a href="/admin.php/index/BusinessDistrict.html">商圈列表</a>
</li>
<li role="presentation">
<a href="/admin.php/index/editBusinessDistrict.html">编辑商圈</a>
</li>
</ul> </ul>
</nav> </nav>
......
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<h1>商铺新增</h1> <h1>商铺新增222</h1>
\ No newline at end of file \ No newline at end of file
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<h1>商铺列表</h1> <h1>商铺列表4444</h1>
\ No newline at end of file \ No newline at end of file
...@@ -77,7 +77,7 @@ Route::group('index', [ ...@@ -77,7 +77,7 @@ Route::group('index', [
'roleedit' => ['index/auth/roleedit', ['method' => 'get']], //编辑角色 'roleedit' => ['index/auth/roleedit', ['method' => 'get']], //编辑角色
'accessUser' => ['index/auth/accessUser', ['method' => 'get']], //成员授权 'accessUser' => ['index/auth/accessUser', ['method' => 'get']], //成员授权
'BusinessDistrict' => ['index/BusinessDistrict/index', ['method' => 'get']], //商圈列表 'BusinessDistrict' => ['index/BusinessDistrict/index', ['method' => 'get']], //商圈列表
'editBusinessDistrict' => ['index/BusinessDistrict/index', ['method' => 'get']], //编辑商圈 'editBusinessDistrict' => ['index/BusinessDistrict/edit', ['method' => 'get']], //编辑商圈
'delBusinessDistrict' => ['index/BusinessDistrict/index', ['method' => 'get']], //删除商圈列表 'delBusinessDistrict' => ['index/BusinessDistrict/index', ['method' => 'get']], //删除商圈列表
'houseList' => ['index/Houses/index', ['method' => 'get']], //商铺列表 'houseList' => ['index/Houses/index', ['method' => 'get']], //商铺列表
'houseEdit' => ['index/Houses/edit', ['method' => 'get']], //编辑商铺 'houseEdit' => ['index/Houses/edit', ['method' => 'get']], //编辑商铺
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment