package com.yeshi.fanli.service.inter.money.msg;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import com.yeshi.fanli.entity.bus.msg.MsgMoneyDetail.MsgTypeMoneyTypeEnum;
|
import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
|
import com.yeshi.fanli.entity.bus.user.Extract;
|
import com.yeshi.fanli.entity.bus.user.ExtractWeiXinRecord;
|
|
/**
|
* 用户资金消息通知
|
*
|
* @author Administrator
|
*
|
*/
|
public interface UserMoneyMsgNotificationService {
|
|
/**
|
* 提现申请
|
*
|
* @param extract
|
*/
|
public void extractApplay(Extract extract);
|
|
/**
|
* 提现失败
|
*
|
* @param extract
|
* @param stateDesc
|
*/
|
public void extractFail(Extract extract, String stateDesc);
|
|
/**
|
* 提现成功
|
*
|
* @param extract
|
*/
|
public void extractSuccess(Extract extract, String reason);
|
|
/**
|
* 支付宝账号验证
|
*
|
* @param history
|
* @param limitDay 限制时间
|
* @param change 是否为修改 true 修改 false 首次绑定
|
*/
|
public void alipayAccountValid(AlipayAccountValidNormalHistory history, int limitDay, boolean change);
|
|
/**
|
* 付宝账号验证失败
|
* @param history
|
* @param limitDay
|
* @param change
|
*/
|
public void alipayAccountValidFail(AlipayAccountValidNormalHistory history, int limitDay, boolean change);
|
|
|
|
/**
|
* 返利订单到账
|
*
|
* @param uid
|
* @param orderId
|
* @param goodsCount
|
* @param money
|
* @param balance
|
*/
|
public void fanliOrderReceived(Long uid, String orderId, int orderType, int goodsCount, BigDecimal money,
|
BigDecimal balance, Date downTime);
|
|
/**
|
* 返利订单维权
|
*
|
* @param uid
|
* @param orderId
|
* @param money
|
* @param fanliMoney 订单返利
|
*/
|
public void fanliOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money, BigDecimal fanliMoney, int goodsCount, Date downTime);
|
|
/**
|
* 分享赚订单被统计
|
*
|
* @param uid
|
* @param orderCount
|
* @param goodsCount
|
* @param money
|
* @param balance
|
*/
|
public void shareOrderReceived(Long uid, int orderType, int orderCount, int goodsCount, BigDecimal money,
|
BigDecimal balance, String orderId, Date downTime);
|
|
/**
|
* 分享订单维权
|
*
|
* @param uid
|
* @param orderId
|
* @param money
|
* @param fanliMoney
|
*/
|
|
public void shareOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money,BigDecimal fanliMoney, int goodsCount, Date downTime);
|
|
/**
|
* 邀请赚订单被统计
|
*
|
* @param uid
|
* @param orderCount
|
* @param goodsCount
|
* @param money
|
* @param balance
|
*/
|
public void inviteOrderReceived(Long uid, int orderType, int orderCount, int goodsCount, BigDecimal money,
|
BigDecimal balance);
|
|
/**
|
* 邀请订单维权
|
*
|
* @param uid
|
* @param orderId
|
* @param money
|
* @param balance
|
*/
|
public void inviteOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money, BigDecimal balance);
|
|
/**
|
* 奖励订单到账
|
*
|
* @param uid
|
* @param orderId
|
* @param money
|
* @param balance
|
*/
|
public void orderReward(Long uid, String orderId, int orderType, BigDecimal money, BigDecimal balance);
|
|
/**
|
* 系统补齐
|
*
|
* @param uid
|
* @param reason
|
* @param money
|
* @param balance
|
*/
|
public void systemEqualize(Long uid, String reason, BigDecimal money, BigDecimal balance);
|
|
/**
|
* 饿了么返利到账
|
*
|
* @param uid
|
* @param orderId
|
* @param money
|
* @param balance
|
*/
|
public void elmeFanli(Long uid, String orderId, BigDecimal money, BigDecimal balance);
|
|
|
/**
|
* 补贴消息
|
*
|
* @param uid
|
* @param date
|
* @param from
|
* @param money
|
* @param balance
|
*/
|
public void inviteOrderSubSidy(Long uid, Date date, String from, BigDecimal money, BigDecimal balance);
|
|
/**
|
* 红包消息
|
*/
|
public void redPackMsg(Long uid, MsgTypeMoneyTypeEnum type, String content, String beiZhu);
|
|
/**
|
* 红包消息-队友奖励
|
*/
|
public void teamRedPackRewardMsg(Long uid, MsgTypeMoneyTypeEnum type, BigDecimal money, String stateDesc,String content);
|
|
|
/**
|
* 团队收益消息
|
* @param uid
|
* @param money 本次到账金额
|
* @param balance 余额
|
* @param receivedDate 结算月度
|
*/
|
public void teamReceive(Long uid, BigDecimal money, BigDecimal balance, Date receivedDate);
|
|
|
|
}
|