2204A-cyj(卡片)

成英杰 2024-11-29 17:05:43 +08:00
parent e4580e8bd1
commit c02afc9a93
7 changed files with 41 additions and 8 deletions

21
doc/加团.md 100644
View File

@ -0,0 +1,21 @@
# 拼团活动列表(活动页面)
# 拼团详情(展示活动页面)
#优惠券
# 开团/加团(用户拼团页面)
#选择商品(选择拼团的商品页面)
#拼团中 (等待拼团页面)
#品团 成功
# 订单
# 支付 成功/失败
# 拼团
商品详情
拼团活动详情
拼团类型
评论

View File

@ -20,12 +20,12 @@ public class PageDomain {
/** /**
* *
*/ */
private Integer pageNum; private Integer pageNum=1;
/** /**
* *
*/ */
private Integer pageSize; private Integer pageSize=3;
/** /**
* *

View File

@ -1,6 +1,6 @@
# Tomcat # Tomcat
server: server:
port: 8080 port: 18080
# Spring # Spring
spring: spring:
@ -28,12 +28,12 @@ spring:
eager: true eager: true
transport: transport:
# 控制台地址 # 控制台地址
dashboard: 127.0.0.1:8718 dashboard: 60.204.150.30:8718
# nacos配置持久化 # nacos配置持久化
datasource: datasource:
ds1: ds1:
nacos: nacos:
server-addr: 127.0.0.1:8848 server-addr: 60.204.150.30:8848
dataId: sentinel-muyu-gateway dataId: sentinel-muyu-gateway
groupId: DEFAULT_GROUP groupId: DEFAULT_GROUP
data-type: json data-type: json

View File

@ -19,6 +19,11 @@
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-loadbalancer</artifactId>
</dependency>
<!-- 系统公共core --> <!-- 系统公共core -->
<dependency> <dependency>
<groupId>com.muyu</groupId> <groupId>com.muyu</groupId>

View File

@ -15,6 +15,7 @@ import com.muyu.marketing.domain.req.TeamInfoListReq;
import com.muyu.marketing.domain.resp.ActivityTeamInfoResp; import com.muyu.marketing.domain.resp.ActivityTeamInfoResp;
import com.muyu.marketing.domain.resp.TeamInfoListResp; import com.muyu.marketing.domain.resp.TeamInfoListResp;
import com.muyu.marketing.team.service.ActivityTeamInfoService; import com.muyu.marketing.team.service.ActivityTeamInfoService;
import io.swagger.v3.oas.annotations.security.OAuthScope;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -38,11 +39,11 @@ public class ActivityTeamController {
* *
*/ */
@PostMapping("/clientList") @PostMapping("/clientList")
public Result<PageInfo<ActivityTeamInfoResp>> clientList(@RequestBody TeamInfoListReq teamInfoListReq){ public Result<List<ActivityTeamInfoResp>> clientList(@RequestBody TeamInfoListReq teamInfoListReq){
PageUtils.startPage(teamInfoListReq.getPageNum(),teamInfoListReq.getPageSize()); PageUtils.startPage(teamInfoListReq.getPageNum(),teamInfoListReq.getPageSize());
List<ActivityTeamInfoResp> activityTeamInfoRespList=activityTeamInfoService.clientList(teamInfoListReq); List<ActivityTeamInfoResp> activityTeamInfoRespList=activityTeamInfoService.clientList(teamInfoListReq);
PageInfo<ActivityTeamInfoResp> pageInfo = new PageInfo<>(activityTeamInfoRespList); PageInfo<ActivityTeamInfoResp> pageInfo = new PageInfo<>(activityTeamInfoRespList);
return Result.success(pageInfo); return Result.success(pageInfo.getList());
} }

View File

@ -20,4 +20,5 @@
<description> <description>
muyu-marketing营销模块 muyu-marketing营销模块
</description> </description>
</project> </project>

View File

@ -15,6 +15,11 @@
</description> </description>
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-loadbalancer</artifactId>
</dependency>
<!-- SpringBoot Admin --> <!-- SpringBoot Admin -->
<dependency> <dependency>