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
e7e317a6
Commit
e7e317a6
authored
Mar 20, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部客户 小改
parent
1e1c9461
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
Client.php
application/api_broker/controller/Client.php
+2
-6
Basic.php
application/api_broker/extend/Basic.php
+1
-1
No files found.
application/api_broker/controller/Client.php
View file @
e7e317a6
...
...
@@ -233,7 +233,7 @@ class Client extends Basic
// $params['search_type'] = '2' ;
#测试数据 end
if
(
!
isset
(
$params
[
'
phone_or_name'
])
||
!
isset
(
$params
[
'
user_id'
]))
{
if
(
!
isset
(
$params
[
'user_id'
]))
{
return
$this
->
response
(
"300"
,
"参数不全"
,
[
'remote_groupid'
=>
''
]);
}
...
...
@@ -312,12 +312,8 @@ class Client extends Basic
exit;*/
$total
=
intval
(
$total
/
$pagesize
)
+
((
$total
%
$pagesize
==
0
)
?
0
:
1
);
if
(
$user_res
)
{
return
$this
->
response
(
"200"
,
"success!"
,
[
'user_date'
=>
$user_res
,
'pagenum'
=>
$pagenum
,
'total'
=>
$total
,
'search_type'
=>
$search_type
]);
}
else
{
return
$this
->
response
(
"101"
,
"失败!"
);
}
}
...
...
application/api_broker/extend/Basic.php
View file @
e7e317a6
...
...
@@ -86,7 +86,7 @@ class Basic extends Controller
$requestPath
=
$this
->
request
->
routeInfo
()[
"rule"
][
0
]
.
"/"
.
$this
->
request
->
routeInfo
()[
"rule"
][
1
];
if
(
!
in_array
(
trim
(
$requestPath
),
$this
->
filterVerify
))
{
//
$this->tokenVerify();
$this
->
tokenVerify
();
}
/*临时验证 end*/
...
...
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