|
|
@@ -60,14 +60,14 @@ public class WechatWeappCodeController { |
|
|
return new ResultData(openRet); |
|
|
return new ResultData(openRet); |
|
|
} catch (WxErrorException e) { |
|
|
} catch (WxErrorException e) { |
|
|
logger.error(e.getMessage()); |
|
|
logger.error(e.getMessage()); |
|
|
|
|
|
return new ResultData(e.getMessage()); |
|
|
} |
|
|
} |
|
|
return new ResultData(Result.ERROR); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ApiOperation("获取体验小程序的体验二维码") |
|
|
@ApiOperation("获取体验小程序的体验二维码") |
|
|
@GetMapping("/getQrcode") |
|
|
@GetMapping("/getQrcode") |
|
|
public void getQrcode(@RequestParam(value = "appId") String appId, @RequestParam(value = "pagePath") String pagePath, |
|
|
public void getQrcode(@RequestParam(value = "appId") String appId, @RequestParam(value = "pagePath") String pagePath, |
|
|
@RequestParam(value = "params") Map<String, String> params, |
|
|
|
|
|
|
|
|
Map<String, String> params, |
|
|
HttpServletResponse response, HttpServletRequest req) { |
|
|
HttpServletResponse response, HttpServletRequest req) { |
|
|
try { |
|
|
try { |
|
|
WxOpenMaService openMaService = openService.getWxOpenComponentService().getWxMaServiceByAppid(appId); |
|
|
WxOpenMaService openMaService = openService.getWxOpenComponentService().getWxMaServiceByAppid(appId); |
|
|
|