From 1f5047d269bee40bb03a3f7007b805083dcc62f3 Mon Sep 17 00:00:00 2001 From: lzx_mac <2602107437@qq.com> Date: Sun, 25 Aug 2024 10:17:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../noticeapicontroller/IndexApiController.java | 33 ++++++++++++++++++++++ .../api/noticeapicontroller/InfoApiController.java | 10 +++++++ .../noticeapicontroller/OrderApiController.java | 3 ++ 3 files changed, 46 insertions(+) diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/IndexApiController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/IndexApiController.java index 3d133c4..5910851 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/IndexApiController.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/IndexApiController.java @@ -2,7 +2,9 @@ package org.jeecg.modules.api.noticeapicontroller; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -12,7 +14,38 @@ import org.springframework.web.bind.annotation.RestController; @Slf4j public class IndexApiController { + //获取banner列表 + @ApiOperation(value="小程序-获取banner列表", notes="小程序-获取banner列表") + @GetMapping("/getBanner") + public String getBanner() + { + return ""; + } + + //获取认证演员 + @ApiOperation(value="小程序-获取认证演员", notes="小程序-获取认证演员") + @GetMapping("/getActor") + public String getActor() + { + return ""; + } + + + //获取动态列表带分页 + @ApiOperation(value="小程序-获取动态列表带分页", notes="小程序-获取动态列表带分页") + @GetMapping("/getDynamicPage") + public String getDynamicPage() + { + return ""; + } + } + + + + + + diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/InfoApiController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/InfoApiController.java index 1b3ecac..a8f7453 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/InfoApiController.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/InfoApiController.java @@ -11,4 +11,14 @@ import org.springframework.web.bind.annotation.RestController; @RequestMapping("/api/info") @Slf4j public class InfoApiController { + + //获取个人信息接口 + @RequestMapping("/getInfo") + public String getInfo(){ + return "获取个人信息接口"; + } + + + + } diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/OrderApiController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/OrderApiController.java index 13b20f7..d6da348 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/OrderApiController.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/noticeapicontroller/OrderApiController.java @@ -11,4 +11,7 @@ import org.springframework.web.bind.annotation.RestController; @RequestMapping("/api/order") @Slf4j public class OrderApiController { + + + }