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
bda91135
Commit
bda91135
authored
Aug 30, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d011bc95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
OrderLogService.php
application/api_broker/service/OrderLogService.php
+7
-3
No files found.
application/api_broker/service/OrderLogService.php
View file @
bda91135
...
@@ -87,7 +87,7 @@ class OrderLogService
...
@@ -87,7 +87,7 @@ class OrderLogService
$redis_service
=
new
RedisCacheService
();
$redis_service
=
new
RedisCacheService
();
$agent_data
=
$redis_service
->
getRedisCache
(
2
,
$agent_id
);
$agent_data
=
$redis_service
->
getRedisCache
(
2
,
$agent_id
);
$store_id
=
$agent_data
[
'store_id'
];
$store_id
=
$agent_data
[
'store_id'
];
if
(
$store_id
<=
0
)
{
if
(
$store_id
<=
0
)
{
return
-
3
;
return
-
3
;
}
}
foreach
(
$collecting_bill
as
$collecting
)
{
foreach
(
$collecting_bill
as
$collecting
)
{
...
@@ -127,7 +127,7 @@ class OrderLogService
...
@@ -127,7 +127,7 @@ class OrderLogService
if
(
$pay_id
>
0
)
{
if
(
$pay_id
>
0
)
{
$payLogService
=
new
PayLogService
();
$payLogService
=
new
PayLogService
();
$payLogService
->
addAdjustment
(
$father_id
,
$pay_id
,
$money
,
$type
,
$agent_id
,
$store_id
);
$payLogService
->
addAdjustment
(
$father_id
,
$pay_id
,
$money
,
$type
,
$agent_id
,
$store_id
);
}
}
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
=
new
PushMessageService
();
...
@@ -1136,6 +1136,7 @@ class OrderLogService
...
@@ -1136,6 +1136,7 @@ class OrderLogService
if
(
count
(
$marchInData
)
>
0
)
{
if
(
count
(
$marchInData
)
>
0
)
{
foreach
(
$marchInData
as
$k
=>
$v
)
{
foreach
(
$marchInData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"march_in"
;
$v
[
"step_name"
]
=
"march_in"
;
$v
[
"user_id"
]
=
$tree
[
$v
[
"report_id"
]][
"user_id"
];
$v
[
"step"
]
=
"进场【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$v
[
"step"
]
=
"进场【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
...
@@ -1148,6 +1149,7 @@ class OrderLogService
...
@@ -1148,6 +1149,7 @@ class OrderLogService
if
(
count
(
$payLogData
)
>
0
)
{
if
(
count
(
$payLogData
)
>
0
)
{
foreach
(
$payLogData
as
$k
=>
$v
)
{
foreach
(
$payLogData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"pay_log"
;
$v
[
"step_name"
]
=
"pay_log"
;
$v
[
"user_id"
]
=
$tree
[
$v
[
"report_id"
]][
"user_id"
];
$v
[
"step"
]
=
"收款【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$v
[
"step"
]
=
"收款【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
...
@@ -1161,6 +1163,7 @@ class OrderLogService
...
@@ -1161,6 +1163,7 @@ class OrderLogService
if
(
count
(
$refundData
)
>
0
)
{
if
(
count
(
$refundData
)
>
0
)
{
foreach
(
$refundData
as
$k
=>
$v
)
{
foreach
(
$refundData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"refund"
;
$v
[
"step_name"
]
=
"refund"
;
$v
[
"user_id"
]
=
$tree
[
$v
[
"report_id"
]][
"user_id"
];
$v
[
"step"
]
=
"退款【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$v
[
"step"
]
=
"退款【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
...
@@ -1172,6 +1175,7 @@ class OrderLogService
...
@@ -1172,6 +1175,7 @@ class OrderLogService
if
(
count
(
$bargainData
)
>
0
)
{
if
(
count
(
$bargainData
)
>
0
)
{
foreach
(
$bargainData
as
$k
=>
$v
)
{
foreach
(
$bargainData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"bargain"
;
$v
[
"step_name"
]
=
"bargain"
;
$v
[
"user_id"
]
=
$tree
[
$v
[
"report_id"
]][
"user_id"
];
$v
[
"step"
]
=
"成交报告【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$v
[
"step"
]
=
"成交报告【客户ID:"
.
$tree
[
$v
[
"report_id"
]][
"user_id"
]
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
...
@@ -1470,7 +1474,7 @@ class OrderLogService
...
@@ -1470,7 +1474,7 @@ class OrderLogService
$vip
=
new
VipService
();
//0:有权限 1:无权限
$vip
=
new
VipService
();
//0:有权限 1:无权限
$vip_house
=
$vip
->
checkRule
(
$agent_id
,
'index/inspectionRecordAll/3'
);
$vip_house
=
$vip
->
checkRule
(
$agent_id
,
'index/inspectionRecordAll/3'
);
if
(
$vip_house
==
1
)
{
if
(
$vip_house
==
1
)
{
$aService
=
new
VerifyService
();
$aService
=
new
VerifyService
();
$ids
=
$aService
->
getAgentsByAgentId
(
$agent_id
);
$ids
=
$aService
->
getAgentsByAgentId
(
$agent_id
);
$params
[
"ids"
]
=
$ids
;
$params
[
"ids"
]
=
$ids
;
...
...
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