Переглянути джерело

消息推送相关修改!

8 роки тому
батько
коміт
83e0af7963

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/util/SendPatientUtil.java

@ -12,7 +12,7 @@ import java.util.List;
public class SendPatientUtil {
public class SendPatientUtil {
	public static String sendToPatient(String from,String fromName,String to,String contentType,String content,String title,String type){
	public static String sendToPatient(String from,String fromName,String to,String contentType,String content,String title,String type){
		JSONObject participants = new JSONObject();
		JSONObject participants = new JSONObject();
		participants.put(from,0);
		participants.put(from,2);
		participants.put(to,0);
		participants.put(to,0);
		if(!"4".equals(contentType)){
		if(!"4".equals(contentType)){
			contentType = "0";
			contentType = "0";