|
@ -42,7 +42,7 @@ public class MultipleCodeService {
|
|
@Autowired
|
|
@Autowired
|
|
private BasePatientWechatDao basePatientWechatDao;
|
|
private BasePatientWechatDao basePatientWechatDao;
|
|
|
|
|
|
@Value("${wx.id}")
|
|
|
|
|
|
@Value("${wechat.id}")
|
|
private String wxId;
|
|
private String wxId;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@ -78,7 +78,7 @@ public class MultipleCodeService {
|
|
bizContent.put("address", patientDO.getAddress());
|
|
bizContent.put("address", patientDO.getAddress());
|
|
bizContent.put("mobile_phone", patientDO.getMobile());
|
|
bizContent.put("mobile_phone", patientDO.getMobile());
|
|
bizContent.put("apply_method", "1");
|
|
bizContent.put("apply_method", "1");
|
|
bizContent.put("user_sex", "1");
|
|
|
|
|
|
bizContent.put("user_sex",patientDO.getSex());
|
|
bizContent.put("nation", "01");
|
|
bizContent.put("nation", "01");
|
|
request.setBiz_content(JSONObject.toJSONString(bizContent));
|
|
request.setBiz_content(JSONObject.toJSONString(bizContent));
|
|
EhcHandler ehcHandler = new EhcHandler(oauthYlzConfigDO.getUrl()+"ehcweb/gateway.do", oauthYlzConfigDO.getAppId(), oauthYlzConfigDO.getTermId(), oauthYlzConfigDO.getPrivateKey(), oauthYlzConfigDO.getEhcPublicKey());
|
|
EhcHandler ehcHandler = new EhcHandler(oauthYlzConfigDO.getUrl()+"ehcweb/gateway.do", oauthYlzConfigDO.getAppId(), oauthYlzConfigDO.getTermId(), oauthYlzConfigDO.getPrivateKey(), oauthYlzConfigDO.getEhcPublicKey());
|