Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/teacher_income' into teacher_income

Joburgess 4 gadi atpakaļ
vecāks
revīzija
df5bb4995b

+ 1 - 0
mec-thirdparty/src/main/java/com/ym/mec/thirdparty/message/provider/JiguangPushPlugin.java

@@ -74,6 +74,7 @@ public class JiguangPushPlugin implements MessageSenderPlugin, InitializingBean
 		JSONObject notification = new JSONObject();// 通知内容
 		JSONObject notification = new JSONObject();// 通知内容
 		JSONObject android = new JSONObject();// android通知内容
 		JSONObject android = new JSONObject();// android通知内容
 		android.put("alert", alert);
 		android.put("alert", alert);
+		android.put("sound", sound.split("\\.")[0]);
 		android.put("builder_id", 1);
 		android.put("builder_id", 1);
 		JSONObject android_extras = new JSONObject();// android额外参数
 		JSONObject android_extras = new JSONObject();// android额外参数
 		android_extras.put("type", "infomation");
 		android_extras.put("type", "infomation");