public class aliPush
extends java.lang.Object
| 构造器和说明 | 
|---|
aliPush()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
static void | 
main(java.lang.String[] args)  | 
static void | 
sendMsgToAll(java.lang.Integer msgType,
            java.lang.String title,
            java.lang.String content)
sendMsgToAll 全推 
 | 
static void | 
sendMsgToOne(int msgType,
            java.lang.String title,
            java.lang.String content,
            java.lang.String deviceId)
sendMsgToOne 个推 
 | 
static void | 
sendMsgToOrder(int msgType,
              java.lang.String title,
              java.lang.String content,
              java.lang.String deviceId,
              java.lang.String orderData)
订单完成个推 
 | 
public static void sendMsgToAll(java.lang.Integer msgType,
                                java.lang.String title,
                                java.lang.String content)
                         throws com.aliyuncs.exceptions.ServerException,
                                com.aliyuncs.exceptions.ClientException
msgType(1为后台添加的消息,2为订单消息,3为优惠券) - title - content - com.aliyuncs.exceptions.ServerExceptioncom.aliyuncs.exceptions.ClientExceptionpublic static void sendMsgToOne(int msgType,
                                java.lang.String title,
                                java.lang.String content,
                                java.lang.String deviceId)
msgType - 1为后台添加的消息,2为订单消息,3为优惠券title - content - com.aliyuncs.exceptions.ServerExceptioncom.aliyuncs.exceptions.ClientExceptionpublic static void sendMsgToOrder(int msgType,
                                  java.lang.String title,
                                  java.lang.String content,
                                  java.lang.String deviceId,
                                  java.lang.String orderData)
                           throws com.aliyuncs.exceptions.ServerException,
                                  com.aliyuncs.exceptions.ClientException
msgType - 1为后台添加的消息,2为订单消息,3为优惠券title - content - com.aliyuncs.exceptions.ServerExceptioncom.aliyuncs.exceptions.ClientExceptionpublic static void main(java.lang.String[] args)