ISendLimitCodeMessage.java 2.01 KB
package com.yoho.message.sdk.service;

import com.yoho.message.sdk.common.model.SendMessageRspBo;

public interface ISendLimitCodeMessage {

    /**
     * 限购码排队成功提醒
     * @param uid
     * @param miniappType
     * @param productName
     * @param limitProductCode
     * @param queueNumber    当前排队号
     * @param releaseDateTime  发售时间  yyyy-MM-dd HH:mm
     * @return
     */
    SendMessageRspBo queueSuccess(String uid, int miniappType, String productName, String limitProductCode,int queueNumber,String releaseDateTime);

    SendMessageRspBo prizeSuccess(String uid, int miniappType,String productName, String limitProductCode);

    SendMessageRspBo prizeFail(String uid, int miniappType,String productName, String limitProductCode);

    SendMessageRspBo helpProcess(String uid, int miniappType,String productName, String limitProductCode);

    /**
     * 好友助力成功当天提醒
     * @param uid
     * @param productName  商品名称
     * @param currentAssitNum  当前助力人数
     * @param limitProductCode 限购码
     * @return
     */
    SendMessageRspBo assitSuccess(String uid, String productName, int currentAssitNum, String limitProductCode);


    /**
     * 成功获得限购码当天提醒
     * @param uid
     * @param productName  商品名称
     * @param releaseDateTime  发售时间  yyyy-MM-dd HH:mm
     * @param limitProductCode 限购码
     * @return
     */
    SendMessageRspBo getLimitCodeSuccess(String uid, String productName, String releaseDateTime, String limitProductCode);


    /**
     * 获取限购码的用户开售当天提醒
     * @param uid
     * @param mobile  购买者手机号(中间四位*代替)
     * @param productName 商品名称
     * @param productPrice 商品价格
     * @param sellStartTime 发售时间(yyyy-MM-dd HH:mm)
     * @param productSkn 商品skn
     * @return
     */
    SendMessageRspBo limitProductSellStart(String uid,String mobile,String productName,String productPrice,String sellStartTime,String productSkn);
}