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
6dc5e5e1
Commit
6dc5e5e1
authored
Jun 26, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文字修改
parent
95c10c42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
OfficeBargain.php
application/index/controller/OfficeBargain.php
+4
-4
OfficePayLog.php
application/index/controller/OfficePayLog.php
+3
-3
No files found.
application/index/controller/OfficeBargain.php
View file @
6dc5e5e1
...
@@ -973,10 +973,10 @@ class OfficeBargain extends Basic
...
@@ -973,10 +973,10 @@ class OfficeBargain extends Basic
if
(
empty
(
$user_id
)
&&
$this
->
params
[
'report_id'
])
{
if
(
empty
(
$user_id
)
&&
$this
->
params
[
'report_id'
])
{
$user_id
=
$m_report
->
getFieldValue
(
'user_id'
,[
'id'
=>
$this
->
params
[
'report_id'
]]);
$user_id
=
$m_report
->
getFieldValue
(
'user_id'
,[
'id'
=>
$this
->
params
[
'report_id'
]]);
if
(
$user_id
)
{
//
if ($user_id) {
$service
=
new
ConvertCouponService
();
//
$service = new ConvertCouponService();
$service
->
convertCoupon
(
$user_id
,
$bargain_data
[
'report_id'
],
$this
->
params
[
'bargain_id'
],
$bargain_data
[
'order_id'
]);
//核销红包
//
$service->convertCoupon($user_id, $bargain_data['report_id'], $this->params['bargain_id'], $bargain_data['order_id']); //核销红包
}
//
}
}
}
}
}
$i
++
;
$i
++
;
...
...
application/index/controller/OfficePayLog.php
View file @
6dc5e5e1
...
@@ -2100,7 +2100,7 @@ class OfficePayLog extends Basic
...
@@ -2100,7 +2100,7 @@ class OfficePayLog extends Basic
return
'<script>alert("导出失败");window.close();</script>'
;
return
'<script>alert("导出失败");window.close();</script>'
;
}
}
$export
=
new
ExportExcelUntil
();
$export
=
new
ExportExcelUntil
();
$title
=
[
'提交时间'
,
'退款ID'
,
'状态'
,
'订单ID'
,
'收款ID'
,
'退款金额'
,
'入账日期'
,
'退款类型'
,
'提交人'
,
'所属门店'
,
'
商铺
ID'
,
'商铺地址'
];
$title
=
[
'提交时间'
,
'退款ID'
,
'状态'
,
'订单ID'
,
'收款ID'
,
'退款金额'
,
'入账日期'
,
'退款类型'
,
'提交人'
,
'所属门店'
,
'
楼盘房源
ID'
,
'商铺地址'
];
$export
->
exportTable
(
'退款审核明细表'
,
$excel_data
,
11
,
'退款审核明细表 (退款总计:'
.
$total_money
.
')'
,
$title
);
$export
->
exportTable
(
'退款审核明细表'
,
$excel_data
,
11
,
'退款审核明细表 (退款总计:'
.
$total_money
.
')'
,
$title
);
return
''
;
return
''
;
}
}
...
@@ -2134,8 +2134,8 @@ class OfficePayLog extends Basic
...
@@ -2134,8 +2134,8 @@ class OfficePayLog extends Basic
$data
=
$refund_data
[
0
];
$data
=
$refund_data
[
0
];
if
(
$data
[
'agent_id'
])
{
if
(
$data
[
'agent_id'
])
{
$
m_store
=
new
AAgents
();
$
redis
=
new
RedisCacheService
();
$store_name
=
$
m_store
->
getAgentsStoreById
([
'a.id'
=>
$data
[
'agent_id'
]],
'a.name,b.store_name'
);
$store_name
=
$
redis
->
getRedisCache
(
2
,
$data
[
'agent_id'
]
);
$data
[
'store_name'
]
=
$store_name
[
'store_name'
];
$data
[
'store_name'
]
=
$store_name
[
'store_name'
];
$data
[
'agent_name'
]
=
$store_name
[
'name'
];
$data
[
'agent_name'
]
=
$store_name
[
'name'
];
}
else
{
}
else
{
...
...
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