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
a5854bdf
Commit
a5854bdf
authored
Apr 01, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩排行榜-成交单数接口加成交报告ID
parent
d2b2d295
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
PerformanceService.php
application/api_broker/service/PerformanceService.php
+2
-1
No files found.
application/api_broker/service/PerformanceService.php
View file @
a5854bdf
...
...
@@ -885,10 +885,11 @@ class PerformanceService
if
(
!
$params
)
return
[
"code"
=>
101
,
"date"
=>
"传入的参数错误"
];
$field
=
"a.id,a.create_time,a.trade_type,a.scale_fee,a.agent_id,c.internal_address,d.user_phone,d.user_name,b.id as order_id"
;
$field
=
"a.id,a.
father_id,a.
create_time,a.trade_type,a.scale_fee,a.agent_id,c.internal_address,d.user_phone,d.user_name,b.id as order_id"
;
$m_bargain
=
new
OBargainModel
();
$list
=
$m_bargain
->
getBargainSumList
(
$field
,
$params
,
$page_size
,
$page_no
,
$request_source_type
);
foreach
(
$list
as
$key
=>
$val
)
{
$list
[
$key
][
'bargain_id'
]
=
$val
[
"father_id"
]
==
0
?
$val
[
"id"
]
:
$val
[
"father_id"
];
//成交报告ID
$list
[
$key
][
"internal_address"
]
=
$val
[
"internal_address"
]
?
$val
[
"internal_address"
]
:
''
;
$list
[
$key
][
"user_name"
]
=
$val
[
"user_name"
]
?
$val
[
"user_name"
]
:
''
;
$list
[
$key
][
"user_phone"
]
=
preg_replace
(
'/(\d{3})\d{4}(\d{4})/'
,
'$1****$2'
,
$val
[
"user_phone"
]);
...
...
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