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
e9715fdb
Commit
e9715fdb
authored
Jan 07, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户关联解绑记录
parent
aa894289
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
User.php
application/api_broker/controller/User.php
+1
-1
Member.php
application/index/controller/Member.php
+31
-0
route.php
application/route.php
+3
-2
No files found.
application/api_broker/controller/User.php
View file @
e9715fdb
...
@@ -813,7 +813,7 @@ class User extends Basic
...
@@ -813,7 +813,7 @@ class User extends Basic
if
(
count
(
$result
)
>
0
){
if
(
count
(
$result
)
>
0
){
return
$this
->
response
(
"200"
,
"success!"
,
$result
);
return
$this
->
response
(
"200"
,
"success!"
,
$result
);
}
else
{
}
else
{
return
$this
->
response
(
"
101
"
,
"请求数据为空"
);
return
$this
->
response
(
"
200
"
,
"请求数据为空"
);
}
}
}
}
...
...
application/index/controller/Member.php
View file @
e9715fdb
...
@@ -609,4 +609,35 @@ class Member extends Basic{
...
@@ -609,4 +609,35 @@ class Member extends Basic{
{
{
return
view
(
'member/user_genjing_modal'
);
return
view
(
'member/user_genjing_modal'
);
}
}
/**
* 客户关联解绑记录
* @return \think\Response
*/
public
function
getUserBindHistory
()
{
$params
=
$this
->
request
->
param
();
/*$params = array(
"user_id" => 6495
);*/
if
(
!
isset
(
$params
[
"user_id"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$field
=
'OperatingRecords.id as OperatingRecords_id,'
;
$field
.=
'OperatingRecords.name,'
;
$field
.=
'OperatingRecords.remark,'
;
$field
.=
'OperatingRecords.create_time'
;
$get_params
[
'OperatingRecords.user_id'
]
=
$params
[
"user_id"
];
$get_params
[
'OperatingRecords.type'
]
=
8
;
$operatingRecords
=
new
GOperatingRecords
();
$res
=
$operatingRecords
->
getRecordsList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$operatingRecords
->
getRecordsListTotal
(
$field
,
$get_params
);
return
$this
->
response
(
"200"
,
"成功"
,[
'data'
=>
$res
,
'total'
=>
$res_total
]);
}
}
}
application/route.php
View file @
e9715fdb
...
@@ -405,8 +405,9 @@ Route::group('index', [
...
@@ -405,8 +405,9 @@ Route::group('index', [
'commitCheck'
=>
[
'index/DailyPaper/commitCheck'
,
[
'method'
=>
'get|post'
]],
'commitCheck'
=>
[
'index/DailyPaper/commitCheck'
,
[
'method'
=>
'get|post'
]],
'getPayLogImg'
=>
[
'index/DailyPaper/getPayLogImg'
,
[
'method'
=>
'get|post'
]],
'getPayLogImg'
=>
[
'index/DailyPaper/getPayLogImg'
,
[
'method'
=>
'get|post'
]],
'addUserBind'
=>
[
'index/member/addUserBind'
,
[
'method'
=>
'get|post'
]],
'addUserBind'
=>
[
'index/member/addUserBind'
,
[
'method'
=>
'get|post'
]
],
'removeUserBind'
=>
[
'index/member/removeUserBind'
,
[
'method'
=>
'get|post'
]],
'removeUserBind'
=>
[
'index/member/removeUserBind'
,
[
'method'
=>
'get|post'
]
],
'getUserBindHistory'
=>
[
'index/member/getUserBindHistory'
,
[
'method'
=>
'get|post'
]
],
]);
]);
...
...
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