Browse Source

im地址参数添加

8 years ago
parent
commit
8623429d2a
1 changed files with 9 additions and 0 deletions
  1. 9 0
      patient-co-wlyy/src/main/java/com/yihu/wlyy/util/SystemConf.java

+ 9 - 0
patient-co-wlyy/src/main/java/com/yihu/wlyy/util/SystemConf.java

@ -45,6 +45,8 @@ public class SystemConf {
	private static final String appId = "appId";
	private static final String appSecret = "appSecret";
	private static final String SEND_MSG ="im_send_msg";
	// 血糖餐前最小值
	public static final double HEALTH_STANDARD_ST_MIN_BEFORE = 4;
	// 血糖餐前最大值
@ -112,6 +114,13 @@ public class SystemConf {
		return systemProperties;
	}
	/**
	 * IM发送接口
	 * @return
	 */
	public String getSendImUrl() {
		return getSystemProperties().getProperty(SEND_MSG);
	}
	/**
	 *  短信接口地址
 	 */