前端-胡立永 17 hours ago
parent
commit
b5e718ec90
4 changed files with 125 additions and 1 deletions
  1. +8
    -1
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiBooksController.java
  2. +37
    -0
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiMemberController.java
  3. +49
    -0
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java
  4. +31
    -0
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiTTSController.java

+ 8
- 1
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiBooksController.java View File

@ -94,4 +94,11 @@ public class AppletApiBooksController {
return Result.OK(); return Result.OK();
} }
}
@Operation(summary = "获取课程列表【待开发】", description = "根据书籍id获取课程列表")
@GetMapping(value = "/course")
public Result<?> course() {
return Result.OK();
}
}

+ 37
- 0
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiMemberController.java View File

@ -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();
}
}

+ 49
- 0
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java View File

@ -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();
}
}

+ 31
- 0
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiTTSController.java View File

@ -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();
}
}

Loading…
Cancel
Save