From b5e718ec90bf36a11295c7f2c7cd04ff345f15a0 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Thu, 11 Sep 2025 12:51:37 +0800 Subject: [PATCH] 1 --- .../controller/AppletApiBooksController.java | 9 +++- .../controller/AppletApiMemberController.java | 37 ++++++++++++++++ .../controller/AppletApiPromotionController.java | 49 ++++++++++++++++++++++ .../applet/controller/AppletApiTTSController.java | 31 ++++++++++++++ 4 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiMemberController.java create mode 100644 jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java create mode 100644 jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiTTSController.java diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiBooksController.java b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiBooksController.java index 3c66fad..3bf894e 100644 --- a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiBooksController.java +++ b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiBooksController.java @@ -94,4 +94,11 @@ public class AppletApiBooksController { return Result.OK(); } -} \ No newline at end of file + + @Operation(summary = "获取课程列表【待开发】", description = "根据书籍id获取课程列表") + @GetMapping(value = "/course") + public Result course() { + return Result.OK(); + } + +} \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiMemberController.java b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiMemberController.java new file mode 100644 index 0000000..43b8c12 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiMemberController.java @@ -0,0 +1,37 @@ +package org.jeecg.modules.applet.controller; + + +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.extern.slf4j.Slf4j; +import org.jeecg.common.api.vo.Result; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@Slf4j +@Tag(name = "会员", description = "会员") +@RestController +@RequestMapping("/appletApi/member") +public class AppletApiMemberController { + + @Operation(summary = "获取会员列表【待开发】", description = "获取会员列表") + @GetMapping(value = "/list") + public Result list() { + return Result.OK(); + } + + @Operation(summary = "开通会员【待开发】", description = "开通会员") + @PostMapping(value = "/open") + public Result open() { + return Result.OK(); + } + + @Operation(summary = "获取优惠劵【待开发】", description = "获取优惠劵") + @GetMapping(value = "/coupon") + public Result coupon() { + return Result.OK(); + } + +} diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java new file mode 100644 index 0000000..f60b602 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java @@ -0,0 +1,49 @@ +package org.jeecg.modules.applet.controller; + + +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.extern.slf4j.Slf4j; +import org.jeecg.common.api.vo.Result; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@Slf4j +@Tag(name = "推广管", description = "推广管") +@RestController +@RequestMapping("/appletApi/promotion") +public class AppletApiPromotionController { + + @Operation(summary = "获取推广二维码【待开发】", description = "获取推广二维码") + @GetMapping(value = "/qrCode") + public Result qrCode() { + return Result.OK(); + } + + @Operation(summary = "我的团队【待开发】", description = "我的团队") + @GetMapping(value = "/team") + public Result team() { + return Result.OK(); + } + + @Operation(summary = "佣金流水【待开发】", description = "佣金流水") + @GetMapping(value = "/water") + public Result water() { + return Result.OK(); + } + + @Operation(summary = "提现【待开发】", description = "提现") + @PostMapping(value = "/withdraw") + public Result withdraw() { + return Result.OK(); + } + + @Operation(summary = "推广统计【待开发】", description = "推广统计") + @GetMapping(value = "/statistics") + public Result statistics() { + return Result.OK(); + } + +} diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiTTSController.java b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiTTSController.java new file mode 100644 index 0000000..4789419 --- /dev/null +++ b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiTTSController.java @@ -0,0 +1,31 @@ +package org.jeecg.modules.applet.controller; + + +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.extern.slf4j.Slf4j; +import org.jeecg.common.api.vo.Result; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@Slf4j +@Tag(name = "文字转语音", description = "文字转语音") +@RestController +@RequestMapping("/appletApi/tts") +public class AppletApiTTSController { + + @Operation(summary = "查询音色列表【待开发】", description = "查询音色列表") + @GetMapping(value = "/list") + public Result list() { + return Result.OK(); + } + + @Operation(summary = "文字转语音【待开发】", description = "文字转语音") + @PostMapping(value = "/play") + public Result play() { + return Result.OK(); + } + +}