Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
04d358b4
Commit
04d358b4
authored
May 10, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门url 修改
parent
b3d8bb23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
District.php
application/index/controller/District.php
+8
-0
route.php
application/route.php
+0
-1
No files found.
application/index/controller/District.php
View file @
04d358b4
...
...
@@ -25,6 +25,10 @@ class District extends Basic
* @throws \think\exception\DbException
*/
public
function
getDistrictList
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'index'
);
}
$data
[
'status'
]
=
200
;
$data
[
'data'
]
=
''
;
$data
[
'msg'
]
=
''
;
...
...
@@ -68,6 +72,7 @@ class District extends Basic
* 添加部门,绑定总监关系
*
* @return \think\Response
* @throws \Exception
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
...
...
@@ -99,6 +104,9 @@ class District extends Basic
* 根据部门名获取部门列表
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
getDistrictListByName
()
{
$data
[
'status'
]
=
200
;
...
...
application/route.php
View file @
04d358b4
...
...
@@ -156,7 +156,6 @@ Route::group('index', [
'getExclusive'
=>
[
'index/houses/getExclusive'
,
[
'method'
=>
'get'
]],
//获取楼盘独家
'getRecords'
=>
[
'index/houses/getRecords'
,[
'method'
=>
'get'
]],
//操作记录
'getDistrictList'
=>
[
'index/district/getDistrictList'
,[
'method'
=>
'get'
]],
//总监列表
'districtList'
=>
[
'index/district/districtList'
,[
'method'
=>
'get'
]],
//总监列表
'adddistrict'
=>
[
'index/district/addDistrict'
,[
'method'
=>
'get|post'
]],
//添加部门,绑定总监关系
'getDistrictListByName'
=>
[
'index/district/getDistrictListByName'
,[
'method'
=>
'get'
]],
//查询部门
'storeList'
=>
[
'index/Store/index'
,[
'method'
=>
'get'
]],
//门店列表
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment