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
13ac9b6d
Commit
13ac9b6d
authored
Sep 04, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
锁盘
parent
b4ad1645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Houses.php
application/index/controller/Houses.php
+22
-0
route.php
application/route.php
+1
-0
No files found.
application/index/controller/Houses.php
View file @
13ac9b6d
...
...
@@ -682,4 +682,25 @@ class Houses extends Basic
echo
time
()
-
$time
.
'秒'
;
}
/**
* 锁盘
*
* @return \think\Response
*/
public
function
lockHouse
()
{
if
(
empty
(
$this
->
params
[
'house_id'
]))
{
return
$this
->
response
(
101
,
'参数错误'
);
}
$house
=
new
GHouses
();
$num
=
$house
->
editData
([
'is_lock'
=>
1
],
$this
->
params
[
'house_id'
]);
if
(
$num
>
0
)
{
return
$this
->
response
(
200
,
''
);
}
else
{
return
$this
->
response
(
101
,
'锁盘失败!'
);
}
}
}
\ No newline at end of file
application/route.php
View file @
13ac9b6d
...
...
@@ -108,6 +108,7 @@ Route::group('index', [
'getAgentDistrictStore'
=>
[
'index/broker/getAgentDistrictStore'
,
[
'method'
=>
'GET'
]
],
//获取经纪人id获取部门门店名称
'batchChangDish'
=>
[
'index/houses/batchChangDish'
,
[
'method'
=>
'post'
]
],
//批量修改盘方
'transformLandlord'
=>
[
'index/houses/transformLandlord'
,
[
'method'
=>
'post'
]
],
//转换房东手机号
'lockHouse'
=>
[
'index/houses/lockHouse'
,
[
'method'
=>
'post'
]
],
//锁盘
//版本管理
'version'
=>
[
'index/version/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