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
e776d9f7
Commit
e776d9f7
authored
Feb 09, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签修改
parent
cbc573fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Label.php
application/index/controller/Label.php
+1
-0
route.php
application/route.php
+3
-2
No files found.
application/index/controller/Label.php
View file @
e776d9f7
...
@@ -32,6 +32,7 @@ class Label extends Basic
...
@@ -32,6 +32,7 @@ class Label extends Basic
$data
[
'name'
]
=
$this
->
params
[
'name'
];
$data
[
'name'
]
=
$this
->
params
[
'name'
];
$data
[
'operation_id'
]
=
Session
::
get
(
'userId'
);
$data
[
'operation_id'
]
=
Session
::
get
(
'userId'
);
$data
[
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
$data
[
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
$data
[
'type'
]
=
$this
->
params
[
'type'
];
if
(
$this
->
params
[
'id'
])
{
if
(
$this
->
params
[
'id'
])
{
$result
[
'data'
]
=
$labels
->
save
(
$data
,
[
'id'
=>
$this
->
params
[
'id'
]]);
$result
[
'data'
]
=
$labels
->
save
(
$data
,
[
'id'
=>
$this
->
params
[
'id'
]]);
}
else
{
}
else
{
...
...
application/route.php
View file @
e776d9f7
...
@@ -220,8 +220,8 @@ Route::group('broker', [
...
@@ -220,8 +220,8 @@ Route::group('broker', [
'login'
=>
[
'api_broker/Broker/login'
,
[
'method'
=>
'get'
]
],
//经纪人登陆
'login'
=>
[
'api_broker/Broker/login'
,
[
'method'
=>
'get'
]
],
//经纪人登陆
'editClient'
=>
[
'api_broker/Client/editClient'
,
[
'method'
=>
'get|post'
]
],
//添加和编辑客户
'editClient'
=>
[
'api_broker/Client/editClient'
,
[
'method'
=>
'get|post'
]
],
//添加和编辑客户
'getBroker'
=>
[
'api_broker/broker/getBroker'
,[
'method'
=>
'get'
]],
//获取经纪人列表
'getBroker'
=>
[
'api_broker/broker/getBroker'
,[
'method'
=>
'get'
]],
//获取经纪人列表
'labelEdit'
=>
[
'index/
broker
/index'
,[
'method'
=>
'get|post'
]],
//编辑标签
'labelEdit'
=>
[
'index/
label
/index'
,[
'method'
=>
'get|post'
]],
//编辑标签
'getLabelsList'
=>
[
'index/
broker
/getLabelsList'
,[
'method'
=>
'get'
]],
//标签列表
'getLabelsList'
=>
[
'index/
label
/getLabelsList'
,[
'method'
=>
'get'
]],
//标签列表
]);
]);
//Route::miss('api/index/miss');//处理错误的url
//Route::miss('api/index/miss');//处理错误的url
\ No newline at end of file
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