|
@@ -85,10 +85,7 @@ public class WebBridgeController extends ApiController {
|
|
|
public void reportStemp() {
|
|
|
// todo https://wc4.pacsonline.cn/#/reportInfo/reportStemp?id=cnb51i2f3w5uv769&short=1&is_dcm=1&isEncrypt=0&isAnonymous=1&service=1
|
|
|
|
|
|
- WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
- SnsAccessToken snsAccessToken = wService.getWebAccessToken(ApiConfigKit.getApiConfig().getAppId(), ApiConfigKit.getApiConfig().getAppSecret(), code);
|
|
|
- String openid = snsAccessToken.getOpenid();
|
|
|
- this.redirect(WEB_BASR_URL_4+ "/reportInfo/reportStemp?id=" + this.getPara("id") + "&short=1&isEncrypt=0&openid=" + openid);
|
|
|
+ this.redirect(WEB_BASR_URL_4+ "/reportInfo/reportStemp?id=" + this.getPara("id") + "&short=1&isEncrypt=0&openid=" + this.getPara("openid"));
|
|
|
}
|
|
|
|
|
|
public void demo() {
|