|
@@ -84,6 +84,11 @@ public class WeixinApiController extends ApiController {
|
|
"\t \"name\": \"远程诊断\",\n" +
|
|
"\t \"name\": \"远程诊断\",\n" +
|
|
"\t \"url\": \"http://wechat.pacsonline.cn/wx_patient/web/remoteDiagnosis?appId=" + ApiConfigKit.getApiConfig().getAppId() +"\",\n" +
|
|
"\t \"url\": \"http://wechat.pacsonline.cn/wx_patient/web/remoteDiagnosis?appId=" + ApiConfigKit.getApiConfig().getAppId() +"\",\n" +
|
|
"\t \"type\": \"view\"\n" +
|
|
"\t \"type\": \"view\"\n" +
|
|
|
|
+ " },\n" +
|
|
|
|
+ " {\n" +
|
|
|
|
+ "\t \"name\": \"会员福利专享\",\n" +
|
|
|
|
+ "\t \"url\": \"http://leo.spread.newtank.cn/group0930\",\n" +
|
|
|
|
+ "\t \"type\": \"view\"\n" +
|
|
" }\n" +
|
|
" }\n" +
|
|
" ]\n" +
|
|
" ]\n" +
|
|
" },\n" +
|
|
" },\n" +
|
|
@@ -233,42 +238,6 @@ public class WeixinApiController extends ApiController {
|
|
renderText(reports.getQrCode());;
|
|
renderText(reports.getQrCode());;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 统一支付
|
|
|
|
- */
|
|
|
|
- public void unifyPay()
|
|
|
|
- {
|
|
|
|
- String reportId = getPara("reportId");
|
|
|
|
- Report reports = Report.dao.findById(reportId);
|
|
|
|
- Exams exams = Exams.dao.findById(reports.getExamId());
|
|
|
|
- Institution institution = Institution.dao.findById(exams.getInstitutionId());
|
|
|
|
- String appId;
|
|
|
|
- switch (institution.getWxSource()) {
|
|
|
|
- case "中世康恺电子胶片平台":
|
|
|
|
- appId = PropKit.get("appId_zskk");
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
- case "黑龙江省电子胶片平台":
|
|
|
|
- appId = PropKit.get("appId_hlj");
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
- case "辽宁省电子胶片平台":
|
|
|
|
- appId = PropKit.get("appId_ln");
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
- case "河南省电子胶片平台":
|
|
|
|
- appId = PropKit.get("appId_hn");
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
- default:
|
|
|
|
- appId = PropKit.get("appId_zskk");
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
-// redirect("http://wechat.pacsonline.cn/wx_patient/api/getQrcode?appId=" + appId + "&reportId=" + reportId);
|
|
|
|
- ApiConfigKit.setThreadLocalAppId(appId);
|
|
|
|
-// String string = PaymentApi.pushOrder(j);
|
|
|
|
- }
|
|
|
|
|
|
|
|
/*/
|
|
/*/
|
|
* 获取JS-SDK的配置信息
|
|
* 获取JS-SDK的配置信息
|