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
059af708
Commit
059af708
authored
Nov 23, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口加状态
parent
784d20ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
OrderLog.php
application/api_broker/controller/OrderLog.php
+1
-1
StatementService.php
application/api_broker/service/StatementService.php
+0
-2
Broker.php
application/index/controller/Broker.php
+1
-1
No files found.
application/api_broker/controller/OrderLog.php
View file @
059af708
...
@@ -637,7 +637,7 @@ class OrderLog extends Basic
...
@@ -637,7 +637,7 @@ class OrderLog extends Basic
$pageNo
=
empty
(
$params
[
"page_no"
])
?
1
:
$params
[
"page_no"
];
$pageNo
=
empty
(
$params
[
"page_no"
])
?
1
:
$params
[
"page_no"
];
$pageSize
=
empty
(
$params
[
"page_size"
])
?
15
:
$params
[
"page_size"
];
$pageSize
=
empty
(
$params
[
"page_size"
])
?
15
:
$params
[
"page_size"
];
$agentModel
=
new
AAgents
();
$agentModel
=
new
AAgents
();
$field
=
"id,phone,name"
;
$field
=
"id,phone,name
,status
"
;
try
{
try
{
$result
=
$agentModel
->
getList
(
$pageNo
,
$pageSize
,
"id desc"
,
$field
,
""
,
$where_
);
$result
=
$agentModel
->
getList
(
$pageNo
,
$pageSize
,
"id desc"
,
$field
,
""
,
$where_
);
if
(
count
(
$result
)
>
0
)
{
if
(
count
(
$result
)
>
0
)
{
...
...
application/api_broker/service/StatementService.php
View file @
059af708
...
@@ -717,8 +717,6 @@ class StatementService
...
@@ -717,8 +717,6 @@ class StatementService
// 客源
// 客源
$result
[
"user_num_by_self"
]
=
$this
->
userModel
->
getAddUserNumByAgentId
(
$conditions
);
$result
[
"user_num_by_self"
]
=
$this
->
userModel
->
getAddUserNumByAgentId
(
$conditions
);
#店长个人 成交单数
#店长个人 成交单数
$performanceSum
=
$this
->
bargainModel
->
getAddBargainNumV2
(
$conditions
,
3
);
//1表示业绩 2表示实收
$performanceSum
=
$this
->
bargainModel
->
getAddBargainNumV2
(
$conditions
,
3
);
//1表示业绩 2表示实收
$result
[
"bargain_sum_by_self"
]
=
isset
(
$performanceSum
[
0
][
"num"
])
?
$performanceSum
[
0
][
"num"
]
:
0
;
$result
[
"bargain_sum_by_self"
]
=
isset
(
$performanceSum
[
0
][
"num"
])
?
$performanceSum
[
0
][
"num"
]
:
0
;
...
...
application/index/controller/Broker.php
View file @
059af708
...
@@ -52,7 +52,7 @@ class Broker extends Basic
...
@@ -52,7 +52,7 @@ class Broker extends Basic
if
(
$where
)
{
if
(
$where
)
{
$agent
=
new
AAgents
();
$agent
=
new
AAgents
();
$field
=
'id,store_id,name,phone,img'
;
$field
=
'id,store_id,name,phone,img
,status
'
;
$data
[
'data'
]
=
$agent
->
getList
(
$pageNo
,
$pageSize
,
''
,
''
,
$field
,
$where
);
$data
[
'data'
]
=
$agent
->
getList
(
$pageNo
,
$pageSize
,
''
,
''
,
$field
,
$where
);
if
(
$data
[
'data'
]){
if
(
$data
[
'data'
]){
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
...
...
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