wjc
7 天以前 abdc219259c399829f42b23f7810507dfb55e8f1
app/src/main/java/com/hdl/photovoltaic/other/HdlPushLogic.java
@@ -27,7 +27,6 @@
import java.util.Objects;
import cn.jpush.android.api.NotificationMessage;
/**
@@ -65,7 +64,7 @@
        json.addProperty("deviceType", "Android");//设备类型
        json.addProperty("produce", AppConfigManage.isIsOnlineServer());//表示是否是正式服务器
        json.addProperty("pushToken", UserConfigManage.getInstance().getPushToken());//App的推送Token,在极光为RegId
        json.addProperty("software", "PHOTOVOLTAIC");//软件来源把PHOTOVOLTAIC改成XENTERRA,也就云端说的通道号(channel)
        json.addProperty("software", "PHOTOVOLTAIC");//也就云端说的通道号(channel)
//        json.addProperty("platform", "ALIYUN_APNS");//阿里云的版本的platform
        json.addProperty("platform", "FCM");//google的版本的platform
        json.addProperty("language", UserConfigManage.getInstance().getCurrentAppLanguage());//2.0追加的字段