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
d699475a
Commit
d699475a
authored
Jul 04, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
APP客下载方
parent
a09244a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
OrderLogService.php
application/api_broker/service/OrderLogService.php
+19
-1
Finance.php
application/index/controller/Finance.php
+1
-1
No files found.
application/api_broker/service/OrderLogService.php
View file @
d699475a
...
@@ -1017,10 +1017,13 @@ class OrderLogService
...
@@ -1017,10 +1017,13 @@ class OrderLogService
}
}
/**
/**
* 1盘方
,2客方,3反签,4独家,5合作
方
* 1盘方
,2客方,3反签,4独家,5合作方(不返回),6APP盘下载方(不返回) 7APP客下载
方
*
*
* @param $order_id
* @param $order_id
* @return array
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
*/
public
function
searchBargainAllAgents
(
$order_id
)
public
function
searchBargainAllAgents
(
$order_id
)
{
{
...
@@ -1089,6 +1092,21 @@ class OrderLogService
...
@@ -1089,6 +1092,21 @@ class OrderLogService
$list
[
$key
][
'name'
]
=
$report_data
[
0
][
'name'
];
$list
[
$key
][
'name'
]
=
$report_data
[
0
][
'name'
];
$list
[
$key
][
'role'
]
=
3
;
$list
[
$key
][
'role'
]
=
3
;
$list
[
$key
][
'role_name'
]
=
'反签'
;
$list
[
$key
][
'role_name'
]
=
'反签'
;
$key
++
;
}
$params
[
"a.id"
]
=
$result
[
0
][
"user_id"
];
$params
[
"a.referrer_source"
]
=
20
;
$params
[
"a.status"
]
=
0
;
$params
[
"b.status"
]
=
0
;
$referrer
=
$userModel
->
getAgentByReferrer
(
$field
,
$params
);
if
(
$referrer
[
0
][
'id'
])
{
$list
[
$key
][
'id'
]
=
$referrer
[
0
][
'id'
];
$list
[
$key
][
'phone'
]
=
$referrer
[
0
][
'phone'
];
$list
[
$key
][
'name'
]
=
$referrer
[
0
][
'name'
];
$list
[
$key
][
'role'
]
=
7
;
$list
[
$key
][
'role_name'
]
=
'APP客下载方'
;
}
}
return
$list
;
return
$list
;
...
...
application/index/controller/Finance.php
View file @
d699475a
...
@@ -894,7 +894,7 @@ class Finance extends Basic
...
@@ -894,7 +894,7 @@ class Finance extends Basic
/**
/**
* 根据成交报告order_id查询经纪人
* 根据成交报告order_id查询经纪人
* 1盘方
,2客方,3反签,4独家,5合作
方
* 1盘方
,2客方,3反签,4独家,5合作方,6APP盘下载方,7APP客下载
方
*
*
* @return \think\Response
* @return \think\Response
*/
*/
...
...
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