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
210c2c53
Commit
210c2c53
authored
Aug 14, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
42ea8016
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
PayLogService.php
application/api_broker/service/PayLogService.php
+11
-1
No files found.
application/api_broker/service/PayLogService.php
View file @
210c2c53
...
...
@@ -2,6 +2,8 @@
namespace
app\api_broker\service
;
use
app\model\AAgents
;
use
app\model\AStore
;
use
app\model\OBargainModel
;
use
app\model\OImg
;
use
app\model\OPayLogAdjustment
;
...
...
@@ -453,7 +455,7 @@ class PayLogService
try
{
$m_pay
=
new
OPayLogModel
();
$m_bargain
=
new
OBargainModel
();
$pay_fields
=
'id,report_id,order_id,order_no,agent_name,create_time,income_time,house_number,type,real_money,income_time,
$pay_fields
=
'id,report_id,order_id,order_no,agent_name,
reckon_in_store,
create_time,income_time,house_number,type,real_money,income_time,
transfer_name,bargain_id,agent_id,transaction_fee,is_dividend,receipt_number,source,pay_type,last_transfer_time,
money,industry_type,received_money,type_ext,is_open,open_time,remark'
;
$pay_data
=
$m_pay
->
selectReceiptImgList
(
$pay_fields
,
[
'id'
=>
$pay_id
]);
...
...
@@ -516,6 +518,14 @@ class PayLogService
$agent_data
=
$redis_service
->
getRedisCache
(
2
,
$pay_data
[
'agent_id'
]);
$pay_data
[
'site_id'
]
=
$agent_data
[
'site_id'
];
}
$pay_data
[
'reckon_in_store_name'
]
=
""
;
if
(
$pay_data
[
'reckon_in_store'
]
>
0
)
{
$agentModel
=
new
AAgents
();
$agentWhere_
[
"b.id"
]
=
$pay_data
[
'reckon_in_store'
];
$storeInfo
=
$agentModel
->
getAgentsStoreById
(
$agentWhere_
,
"b.store_name"
);
$pay_data
[
'reckon_in_store_name'
]
=
$storeInfo
[
'store_name'
];
}
$pay_data
[
"img_path"
]
=
CHAT_IMG_URL
;
$pay_data
[
"img_arr"
]
=
$this
->
getOImg
(
$pay_id
,
2
);
...
...
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