Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
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
刘小敏
loveisland
Commits
8ef9d665
Commit
8ef9d665
authored
Jul 08, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(pay): 修正非积分商城订单积分抵扣金额计算
parent
c2a21afe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
PayOper.php
addons/shopro/service/pay/PayOper.php
+3
-2
No files found.
addons/shopro/service/pay/PayOper.php
View file @
8ef9d665
...
@@ -129,8 +129,9 @@ class PayOper
...
@@ -129,8 +129,9 @@ class PayOper
$real_fee
=
$score
;
// 积分商城真实抵扣,就是积分
$real_fee
=
$score
;
// 积分商城真实抵扣,就是积分
}
else
{
}
else
{
$log_type
=
'order_pay'
;
$log_type
=
'order_pay'
;
$real_fee
=
$score
;
// 非积分商城订单,积分抵扣
// 非积分商城订单,积分抵扣 real_fee 为人民币金额
// error_stop('缺少积分抵扣金额'); // 支持积分抵扣时补全
// 100积分 = 1元,getPayedFee() 按金额累加,必须用人民币金额
$real_fee
=
round
(
$score
/
100
,
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