--------
This commit is contained in:
@ -49,20 +49,20 @@ public class WechatGetQrcodeController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 微信小程序获取二维码
|
// * 微信小程序获取二维码
|
||||||
* @return
|
// * @return
|
||||||
* @throws IOException
|
// * @throws IOException
|
||||||
*/
|
// */
|
||||||
@Hidden
|
// @Hidden
|
||||||
@PostMapping("/get/qrcode")
|
// @PostMapping("/get/qrcode")
|
||||||
@Operation(summary = "微信小程序获取二维码", description = "参数:无, 权限:所有人, 方法名:getQrcode")
|
// @Operation(summary = "微信小程序获取二维码", description = "参数:无, 权限:所有人, 方法名:getQrcode")
|
||||||
// @RequiresPermission(mustRole = UserConstant.DEFAULT_ROLE)
|
//// @RequiresPermission(mustRole = UserConstant.DEFAULT_ROLE)
|
||||||
public BaseResponse<String> getQrcode(@Valid @RequestBody CommonStringRequest commonStringRequest) throws IOException {
|
// public BaseResponse<String> getQrcode(@Valid @RequestBody CommonStringRequest commonStringRequest) throws IOException {
|
||||||
String inviteCode = commonStringRequest.getTemplateString();
|
// String inviteCode = commonStringRequest.getTemplateString();
|
||||||
String view = wechatGetQrcodeService.getWxQrCode(inviteCode);
|
// String view = wechatGetQrcodeService.getWxQrCode(inviteCode);
|
||||||
return ResultUtils.success(view);
|
// return ResultUtils.success(view);
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
|
Reference in New Issue
Block a user