|
@ -770,8 +770,12 @@ public class HealthCareEndPoint extends EnvelopRestEndpoint {
|
|
|
try {
|
|
|
if (wechatId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.getYbImage());
|
|
|
}else if (wechatId.equalsIgnoreCase("xm_dsyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.getYbImage());
|
|
|
}else if (wechatId.equalsIgnoreCase("xm_qsyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.getYbImage());
|
|
|
}else{
|
|
|
return null;
|
|
|
return ObjEnvelop.getSuccess("尚未开放",null);
|
|
|
}
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
@ -788,8 +792,12 @@ public class HealthCareEndPoint extends EnvelopRestEndpoint {
|
|
|
try {
|
|
|
if (wechatId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.updateUserInfo(no,token));
|
|
|
}else if (wechatId.equalsIgnoreCase("xm_dsyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.updateUserInfo(no,token));
|
|
|
}else if (wechatId.equalsIgnoreCase("xm_qsyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.updateUserInfo(no,token));
|
|
|
}else{
|
|
|
return null;
|
|
|
return ObjEnvelop.getSuccess("尚未开放",null);
|
|
|
}
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
@ -805,8 +813,12 @@ public class HealthCareEndPoint extends EnvelopRestEndpoint {
|
|
|
try {
|
|
|
if (wechatId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.checkOauthQRCode(authorizeNo));
|
|
|
}else if (wechatId.equalsIgnoreCase("xm_dsyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.checkOauthQRCode(authorizeNo));
|
|
|
}else if (wechatId.equalsIgnoreCase("xm_qsyy_wx")) {
|
|
|
return ObjEnvelop.getSuccess("ok",healthCareNewService.checkOauthQRCode(authorizeNo));
|
|
|
}else{
|
|
|
return null;
|
|
|
return ObjEnvelop.getSuccess("尚未开放",null);
|
|
|
}
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|