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
07bbc89b
Commit
07bbc89b
authored
Mar 01, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token过滤
parent
3502bd36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Report.php
application/api_broker/controller/Report.php
+0
-1
Basic.php
application/api_broker/extend/Basic.php
+3
-1
No files found.
application/api_broker/controller/Report.php
View file @
07bbc89b
...
@@ -101,7 +101,6 @@ class Report extends Basic
...
@@ -101,7 +101,6 @@ class Report extends Basic
if
(
count
(
$result
)
>
0
){
if
(
count
(
$result
)
>
0
){
foreach
(
$result
as
$k
=>
$v
){
foreach
(
$result
as
$k
=>
$v
){
$result
[
$k
][
"user_phone"
]
=
preg_replace
(
'/(\d{3})\d{4}(\d{4})/'
,
'$1****$2'
,
$v
[
"user_phone"
]);
$result
[
$k
][
"user_phone"
]
=
preg_replace
(
'/(\d{3})\d{4}(\d{4})/'
,
'$1****$2'
,
$v
[
"user_phone"
]);
}
}
}
}
...
...
application/api_broker/extend/Basic.php
View file @
07bbc89b
...
@@ -38,7 +38,9 @@ class Basic extends Controller
...
@@ -38,7 +38,9 @@ class Basic extends Controller
protected
$agentPhone
;
protected
$agentPhone
;
protected
$timeStamp_
;
protected
$timeStamp_
;
protected
$filterVerify
=
array
(
protected
$filterVerify
=
array
(
'broker/token'
'broker/token'
,
'broker/getShopList'
,
'broker/getShopDetail'
,
);
);
/**
/**
...
...
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