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
4d30d3e8
Commit
4d30d3e8
authored
Aug 02, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
号码隐藏加标识
parent
1cefe180
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
SecretReport.php
application/model/SecretReport.php
+2
-3
No files found.
application/model/SecretReport.php
View file @
4d30d3e8
...
@@ -46,14 +46,13 @@ class SecretReport extends BaseModel
...
@@ -46,14 +46,13 @@ class SecretReport extends BaseModel
// $store = new AStore();
// $store = new AStore();
// $shop_name = $store->getStoreById($agents_data['store_id']);
// $shop_name = $store->getStoreById($agents_data['store_id']);
// $result[$k]['agents_name'] = $shop_name['district_name'].'-'. $agents_data['name'].'-'.$agents_data['phone'];
// $result[$k]['agents_name'] = $shop_name['district_name'].'-'. $agents_data['name'].'-'.$agents_data['phone'];
$result
[
$k
][
'agents_name'
]
=
$agents_data
[
'name'
]
.
'-'
.
$agents_data
[
'phone'
];
$result
[
$k
][
'agents_name'
]
=
'(经纪人)'
.
$agents_data
[
'name'
]
.
'-'
.
$agents_data
[
'phone'
];
}
}
if
(
$v
->
users_id
)
{
if
(
$v
->
users_id
)
{
$user_data
=
Db
::
table
(
'u_users'
)
->
field
(
'user_name,user_phone'
)
->
where
(
'id'
,
$v
->
users_id
)
->
find
();
$user_data
=
Db
::
table
(
'u_users'
)
->
field
(
'user_name,user_phone'
)
->
where
(
'id'
,
$v
->
users_id
)
->
find
();
$user_data
[
'user_name'
]
=
empty
(
$user_data
[
'user_name'
])
?
'?.?'
:
$user_data
[
'user_name'
];
$user_data
[
'user_name'
]
=
empty
(
$user_data
[
'user_name'
])
?
'?.?'
:
$user_data
[
'user_name'
];
// $result[$k]['user_nick'] = $user_data['user_name'] .'-'. hide_customer_phone($user_data['user_phone']);
$result
[
$k
][
'user_name'
]
=
$user_data
[
'user_name'
]
.
'-'
.
hide_customer_phone
(
$user_data
[
'user_phone'
]);
$result
[
$k
][
'user_name'
]
=
$user_data
[
'user_name'
]
.
'-'
.
$user_data
[
'user_phone'
];
$result
[
$k
][
'follow_up'
]
=
Db
::
table
(
'u_phone_follow_up'
)
->
where
(
'user_id'
,
$v
->
users_id
)
->
order
(
'id DESC'
)
->
value
(
'content'
);
$result
[
$k
][
'follow_up'
]
=
Db
::
table
(
'u_phone_follow_up'
)
->
where
(
'user_id'
,
$v
->
users_id
)
->
order
(
'id DESC'
)
->
value
(
'content'
);
}
else
{
}
else
{
$result
[
$k
][
'user_nick'
]
=
""
;
$result
[
$k
][
'user_nick'
]
=
""
;
...
...
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