From f22c4b9230808fed4fec80c435eccb4c833349a0 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 21 十月 2022 18:36:38 +0800 Subject: [PATCH] 2022.10.21 1.环境守法小程序后台功能首发版本完成 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NotificationController.kt | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NotificationController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NotificationController.kt index 0382f15..f7f9453 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NotificationController.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NotificationController.kt @@ -43,9 +43,15 @@ ) = notificationService.getUnReadNoticeNum(userId) @ApiOperation(value = "鍙戝竷閫氱煡") - @PostMapping("{userId}/release") + @PostMapping("/{userId}/release") fun releaseNotice( @ApiParam("鐢ㄦ埛id") @PathVariable("userId") userId: String, @ApiParam("閫氱煡") @RequestBody notice: NotificationVo ) = notificationService.releaseNotice(userId, notice) + + @ApiOperation(value = "鎺ㄩ�佷竴鏉″井淇¤闃呮秷鎭�") + @GetMapping("/wx/message/subscribe/send") + fun pushMsgWx( + @ApiParam("妯℃澘id") @RequestParam("templateId") templateId: Int + ) = notificationService.pushMsgWx(templateId) } \ No newline at end of file -- Gitblit v1.9.3