Commit 86d3074d by 王洁

Merge branch 'ft-bonus' into test

parents bc5bad71 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
......@@ -131,7 +131,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment