Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
42929aef
Commit
42929aef
authored
Jan 10, 2020
by
王洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upMembercardBonus
parent
c65f432a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/MemberCard/Enum/UpBonusEvent.php
+3
-1
src/MemberCard/Lib/MemberCardInterface.php
+1
-1
No files found.
src/MemberCard/Enum/UpBonusEvent.php
View file @
42929aef
...
...
@@ -2,8 +2,9 @@
namespace
Hdll\Services\MemberCard\Enum
;
class
UpBonusEvent
{
const
CONSUME_ADD
=
1
;
//消费产生积分(
确认收货
)
const
CONSUME_ADD
=
1
;
//消费产生积分(
支付成功时
)
const
CONSUME_PAY
=
2
;
//下单减积分
const
REFUND_SUBORDER
=
3
;
//子订单退款
const
CLOSE_ORDER
=
4
;
//关闭订单返还积分
const
CLEARD
=
5
;
// 发生了2和4之后,2--》5
}
\ No newline at end of file
src/MemberCard/Lib/MemberCardInterface.php
View file @
42929aef
...
...
@@ -130,7 +130,7 @@ interface MemberCardInterface
*
* @param integer $storeId
* @param integer $userId
* @param integer $orderId
* @param integer $orderId
//传的需要是主订单id
* @param integer $type //类型 1 消费产生积分 2 积分抵扣 3退款扣除积分 4订单关闭 (这里只要传1-4)(这里只要传1-4) 枚举见 UpBonusEvent
* @param integer $money //类型1 只要传money,bonus不传; 类型2 money=0,bonus 传;类型3 money传,bonus不传; 类型4 money,bonus都不传;
* @param integer $bonus
...
...
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