|
@ -22,6 +22,7 @@ import com.yihu.jw.org.dao.BaseOrgDao;
|
|
|
import com.yihu.jw.patient.dao.BasePatientDao;
|
|
|
import com.yihu.jw.util.common.IdCardUtil;
|
|
|
import com.yihu.jw.util.date.DateUtil;
|
|
|
import com.yihu.jw.util.wechat.wxhttp.HttpUtil;
|
|
|
import com.yihu.jw.wlyy.wlyyhttp.WlyyHttpService;
|
|
|
import com.yihu.utils.security.MD5;
|
|
|
import org.apache.commons.collections.map.HashedMap;
|
|
@ -551,4 +552,19 @@ public class WlyyBusinessService {
|
|
|
|
|
|
return buffer.toString();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 推送i健康智能助手模版消息
|
|
|
* @param wxurl
|
|
|
*/
|
|
|
public void sendDoctorTemplateByDoctorIdcard(String wxurl) {
|
|
|
String re = HttpUtil.sendGet(wxurl);
|
|
|
JSONObject reObject = JSONObject.parseObject(re);
|
|
|
if(200 == reObject.getInteger("status")){
|
|
|
logger.info("请求成功,"+re);
|
|
|
}else{
|
|
|
logger.info("请求失败");
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|