Authored by tanling

有货有赚短信+push

... ... @@ -21,7 +21,7 @@
<groupId>com.yoho.dsf</groupId>
<artifactId>yoho-message-sdk</artifactId>
<name>yoho-message-sdk</name>
<version>1.0.6-SNAPSHOT</version>
<version>1.0.7-SNAPSHOT</version>
<packaging>jar</packaging>
<dependencies>
... ...
... ... @@ -22,4 +22,9 @@ public class YouZhuanScenes {
//有货有赚项目 提现打款提醒
public static final String YOZHUAN_CRASH_ACCOUNT = "YZ_CRASH_ACCOUNT";
}
/**
* 有货有赚
*/
public static final String SEND_CPS_COUPON = "SEND_CPS_COUPON";
}
\ No newline at end of file
... ...
... ... @@ -49,4 +49,7 @@ public interface ISendProductMessage {
SendMessageRspBo cashAccountNotice(String uid, String orderAmount, String crashTime);
SendMessageRspBo cpsCoupon(String uid, String mobile);
}
... ...
... ... @@ -89,4 +89,12 @@ public class SendProductMessageImpl extends AbstractSendMessage implements ISend
return new SendMessageRspBo(200, "SUCCESS");
}
@Override
public SendMessageRspBo cpsCoupon(String uid, String mobile) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(YouZhuanScenes.SEND_CPS_COUPON, uid, uid);
messageCenterCommonEvent.putInParams("mobile", mobile);
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
return new SendMessageRspBo(200, "SUCCESS");
}
}
... ...