Compare commits

...

9 Commits

Author SHA1 Message Date
尚志豪123 f78a0ede2b 补充 2024-12-02 22:11:56 +08:00
尚志豪123 c34f14ed04 连接前端 2024-11-29 22:13:52 +08:00
尚志豪123 9be5cccbff 连接前端 2024-11-29 19:52:16 +08:00
尚志豪123 9d2869f177 Merge branch 'master' into 1129/shangzhihao
# Conflicts:
#	muyu-auth/src/main/resources/bootstrap.yml
#	muyu-gateway/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-file/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-gen/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-job/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-marketing/marketing-common/src/main/java/com/muyu/marketing/domain/ActivityTeamProductSkuInfo.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/service/ActivityTeamProductSkuInfoService.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/service/impl/ActivityTeamProductSkuInfoServiceImpl.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-product/muyu-product-server/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-shop-cart/muyu-shop-cart-server/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-system/src/main/resources/bootstrap.yml
#	muyu-visual/muyu-monitor/src/main/resources/bootstrap.yml
2024-11-29 16:06:26 +08:00
尚志豪123 5e322b03e3 连接前端 2024-11-29 15:54:57 +08:00
尚志豪123 6301303502 批量添加,删除,修改 2024-11-28 15:37:24 +08:00
尚志豪123 47def732f2 Merge branch 'master' into 1127/shangzhihao
# Conflicts:
#	doc/团购查询单条数据结构.java
#	muyu-auth/src/main/resources/bootstrap.yml
#	muyu-gateway/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-file/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-gen/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-job/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-marketing/marketing-common/src/main/java/com/muyu/marketing/domain/model/ActivityTeamInfoUpdModel.java
#	muyu-modules/muyu-marketing/marketing-common/src/main/java/com/muyu/marketing/domain/model/ActivityTeamProductSkuInfoModel.java
#	muyu-modules/muyu-marketing/marketing-common/src/main/java/com/muyu/marketing/domain/model/TeamProductDiscountPriceModel.java
#	muyu-modules/muyu-marketing/marketing-common/src/main/java/com/muyu/marketing/domain/resp/ActivityTeamDetailResp.java
#	muyu-modules/muyu-marketing/marketing-common/src/main/java/com/muyu/marketing/domain/resp/ActivityTeamProjectSkuResp.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/controller/ActivityTeamController.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/service/ActivityTeamInfoService.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/service/ActivityTeamProductSkuInfoService.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/service/impl/ActivityTeamInfoServiceImpl.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/java/com/muyu/marketing/team/service/impl/ActivityTeamProductSkuInfoServiceImpl.java
#	muyu-modules/muyu-marketing/marketing-server/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-product/muyu-product-server/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-shop-cart/muyu-shop-cart-server/src/main/resources/bootstrap.yml
#	muyu-modules/muyu-system/src/main/resources/bootstrap.yml
#	muyu-visual/muyu-monitor/src/main/resources/bootstrap.yml
2024-11-27 14:30:22 +08:00
尚志豪123 2f8ccdbb67 修改实体类 2024-11-27 14:28:57 +08:00
尚志豪123 817f3c97ba 回显 2024-11-27 10:00:09 +08:00
41 changed files with 1341 additions and 756 deletions

View File

@ -0,0 +1,27 @@
$.{
"团购ID": "Long",
"商品ID": "Long",
"商品图片": "String",
"活动名称": "String",
"活动简介": "String",
"商品单位": "String",
"商品的轮播图": [
"String", "String"
],
"活动时间": "date",
"策略类型": "String",
"策略ID": "Long",
"商品规格List": [
{
"活动商品规格ID": "Long",
"规格SKU": "String",
"拼团价格": "BigDecimal",
"拼团库存": "Long"
}
],
"排序": "Integer",
"详情": "String"
}

View File

@ -30,3 +30,38 @@
"详情": "String" "详情": "String"
} }
{
"id": "Long",//活动ID
"productId": "Long",//商品ID
"name": "String",//活动名称
"pname": "String",//商品名称
"productImage": "String",//商品图片
"introduction": "String",//活动简介
"unit": "String",//商品单位
"imageList": [//商品的轮播图
"String", "String"
],
"endTime": "date",//活动时间
"strategyType": "String",//策略类型
"ActivityTeamProductSkuUpdDelAddModel": {// 商品规格
"ActivityTeamProductSkuUpdListModel": [ // 修改商品规格List
{
"id": "Long",//团购规格ID
"teamPrice": "BigDecimal",//拼团价格
"teamStock": "Long"//拼团库存
}
],
"ActivityTeamProductSkuDelListModel" : ["id", "id"],//删除商品规格IdList
"ActivityTeamProductSkuAddListModel": [//添加商品规格List
{
"sku": "String",//商品SKU
"productPrice": "BigDecimal",//商品价格
"teamPrice": "BigDecimal",//拼团价格
"teamStock": "Long"// 拼团库存
}
]
},
"content": "String"//详情
}

View File

@ -21,6 +21,7 @@ $.{
"详情": "String" "详情": "String"
} }
activity_team_info -> ActivityTeamInfo() activity_team_info -> ActivityTeamInfo()
activity_team_info.id() -> -> -> ActivityTeamInfo.id activity_team_info.id() -> -> -> ActivityTeamInfo.id
activity_team_info.name() <- ActivityTeamInfo.name <- $. activity_team_info.name() <- ActivityTeamInfo.name <- $.

30
doc/策略 100644
View File

@ -0,0 +1,30 @@
{
"name": "1",
"productId": 1,
"productImage": "1",
"introduction": "1",
"unit": "1",
"imageList": "1",
"endTime": "2024-12-01 16:26:08",
"sort": 1,
"teamProjectSkuInfoAddReqList": [
{
"sku": "1",
"teamPrice": 1,
"teamStock": 1
}
],
"content": "1",
"status": "1",
"strategyType": "1",
"strategyId": 1,
"createBy": "1",
"createTime": "2024-12-01 16:26:08",
"updateBy": "1",
"updateTime": "2024-12-01 16:26:08",
"remark": "1",
"params": {
"KEY": {
}
}
}

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -58,7 +58,7 @@ public class IpUtils {
ip = request.getRemoteAddr(); ip = request.getRemoteAddr();
} }
return "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : getMultistageReverseProxyIp(ip); return "0:0:0:0:0:0:0:1".equals(ip) ? "150.158.86.96" : getMultistageReverseProxyIp(ip);
} }
/** /**
@ -70,7 +70,7 @@ public class IpUtils {
*/ */
public static boolean internalIp (String ip) { public static boolean internalIp (String ip) {
byte[] addr = textToNumericFormatV4(ip); byte[] addr = textToNumericFormatV4(ip);
return internalIp(addr) || "127.0.0.1".equals(ip); return internalIp(addr) || "150.158.86.96".equals(ip);
} }
/** /**
@ -197,7 +197,7 @@ public class IpUtils {
return InetAddress.getLocalHost().getHostAddress(); return InetAddress.getLocalHost().getHostAddress();
} catch (UnknownHostException e) { } catch (UnknownHostException e) {
} }
return "127.0.0.1"; return "150.158.86.96";
} }
/** /**

View File

@ -0,0 +1,58 @@
package com.muyu.gateway.config.properties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.http.server.reactive.ServerHttpResponse;
import org.springframework.web.cors.reactive.CorsUtils;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebFilter;
import org.springframework.web.server.WebFilterChain;
import reactor.core.publisher.Mono;
/**
*
*
* @author ruoyi
*/
@Configuration
public class CorsConfig
{
/**
* header
*/
private static final String ALLOWED_HEADERS = "X-Requested-With, Content-Type, Authorization, credential, X-XSRF-TOKEN, token, Admin-Token, App-Token";
private static final String ALLOWED_METHODS = "GET,POST,PUT,DELETE,OPTIONS,HEAD";
private static final String ALLOWED_ORIGIN = "*";
private static final String ALLOWED_EXPOSE = "*";
private static final String MAX_AGE = "18000L";
@Bean
public WebFilter corsFilter()
{
return (ServerWebExchange ctx, WebFilterChain chain) -> {
ServerHttpRequest request = ctx.getRequest();
if (CorsUtils.isCorsRequest(request))
{
ServerHttpResponse response = ctx.getResponse();
HttpHeaders headers = response.getHeaders();
headers.add("Access-Control-Allow-Headers", ALLOWED_HEADERS);
headers.add("Access-Control-Allow-Methods", ALLOWED_METHODS);
headers.add("Access-Control-Allow-Origin", ALLOWED_ORIGIN);
headers.add("Access-Control-Expose-Headers", ALLOWED_EXPOSE);
headers.add("Access-Control-Max-Age", MAX_AGE);
headers.add("Access-Control-Allow-Credentials", "true");
if (request.getMethod() == HttpMethod.OPTIONS)
{
response.setStatusCode(HttpStatus.OK);
return Mono.empty();
}
}
return chain.filter(ctx);
};
}
}

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置
@ -33,7 +35,8 @@ spring:
datasource: datasource:
ds1: ds1:
nacos: nacos:
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
dataId: sentinel-muyu-gateway dataId: sentinel-muyu-gateway
groupId: DEFAULT_GROUP groupId: DEFAULT_GROUP
data-type: json data-type: json

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -12,12 +12,6 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.function.Supplier; import java.util.function.Supplier;
/**
*
*
* @author DongZeLiang
* @date 2024-11-26 09:38
*/
@Data @Data
@Builder @Builder
@NoArgsConstructor @NoArgsConstructor

View File

@ -82,7 +82,7 @@ public class ActivityTeamInfoSaveModel {
.unit(activityTeamInfoAddModel.getUnit()) .unit(activityTeamInfoAddModel.getUnit())
.imageList(activityTeamInfoAddModel.getImageList()) .imageList(activityTeamInfoAddModel.getImageList())
.endTime(activityTeamInfoAddModel.getEndTime()) .endTime(activityTeamInfoAddModel.getEndTime())
.sort(activityTeamInfoAddModel.getSort()) .sort(Long.valueOf(activityTeamInfoAddModel.getSort()))
.content(activityTeamInfoAddModel.getContent()) .content(activityTeamInfoAddModel.getContent())
.status(activityTeamInfoAddModel.getStatus()) .status(activityTeamInfoAddModel.getStatus())
.strategyType(activityTeamInfoAddModel.getStrategyType()) .strategyType(activityTeamInfoAddModel.getStrategyType())

View File

@ -0,0 +1,44 @@
package com.muyu.marketing.domain.model;
import com.muyu.marketing.domain.req.TeamProjectSkuInfoAddReq;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.function.Supplier;
/**
* spu
*
* @author DongZeLiang
* @date 2024-11-26 09:36
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityTeamProductSkuAddListModel {
/**
* SKU
*/
private String sku;
/**
*
*/
private BigDecimal productPrice;
/**
*
*/
private BigDecimal teamPrice;
/**
*
*/
private Long teamStock;
}

View File

@ -0,0 +1,30 @@
package com.muyu.marketing.domain.model;/**
* @Author
* @Packagecom.muyu.marketing.domain.model
* @Project2204a-cloud-server-DongZeLiang
* @nameActivityTeamProductSkuDelModel
* @Date2024/11/27 17:03
*/
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @program: 2204a-cloud-server-DongZeLiang
* @description:
* @author: CuiFu Bo
* @create: 2024-11-27 17:03
**/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityTeamProductSkuDelListModel {
/**
* id
*/
private Long id;
}

View File

@ -0,0 +1,51 @@
package com.muyu.marketing.domain.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
/**
* SKU
*
* @author DongZeLiang
* @date 2024-11-26 15:35
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ActivityTeamProductSkuInfoForeignKeyModel extends ActivityTeamProductSkuInfoModel{
/**
*
*/
private Integer name;
/**
*
*/
private Integer productImage;
/**
*
*/
private Integer introduction;
/**
*
*/
private Integer unit;
/**
*
*/
private Integer imageList;
/**
*
*/
private Integer endTime;
/**
*
*/
private Integer content;
}

View File

@ -0,0 +1,35 @@
package com.muyu.marketing.domain.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* ,,,,
*
* @author DongZeLiang
* @date 2024-11-26 15:35
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityTeamProductSkuUpdDelAddModel {
/**
* LIST
*/
private List<ActivityTeamProductSkuUpdListModel> activityTeamProductSkuUpdModelList;
/**
* LIST
*/
private List<ActivityTeamProductSkuDelListModel> activityTeamProductSkuDelModelList;
/**
* LIST
*/
private List<ActivityTeamProductSkuAddListModel> ActivityTeamProductSkuAddListModelList;
}

View File

@ -0,0 +1,37 @@
package com.muyu.marketing.domain.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
/**
* SKU
*
* @author DongZeLiang
* @date 2024-11-27 14:18
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityTeamProductSkuUpdListModel {
/**
* ID
*/
private Long id;
/**
*
*/
private BigDecimal teamPrice;
/**
*
*/
private Long teamStock;
}

View File

@ -0,0 +1,50 @@
package com.muyu.marketing.domain.model;
import com.muyu.marketing.domain.req.TeamProjectSkuInfoAddReq;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.function.Supplier;
/**
* spu
*
* @author DongZeLiang
* @date 2024-11-26 09:36
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityTeamProductSkuUpdateModel {
/**
* ID
*/
private Long teamId;
/**
* ID
*/
private Long productId;
/**
* SKU
*/
private String sku;
/**
*
*/
private BigDecimal teamPrice;
/**
*
*/
private Long teamStock;
}

View File

@ -0,0 +1,85 @@
package com.muyu.marketing.domain.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.muyu.marketing.domain.ActivityTeamInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
import java.util.List;
import java.util.function.Function;
/**
* @program: 2204a-cloud-server
* @description:
* @author: AoCi Tian
* @create: 2024-11-26 16:00
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ActivityTeamUpdateModel {
/**
* id
*/
private Long id;
/**
*
*/
private String name;
/**
* ID
*/
private Long productId;
/**
*
*/
private String productImage;
/**
*
*/
private String introduction;
/**
*
*/
private String unit;
/**
*
*/
private String imageList;
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
private Date endTime;
/**
*
*/
private Long sort;
/**
*
*/
private List<ActivityTeamProductSkuUpdDelAddModel> activityTeamProductSkuUpdDelAddModelList;
/**
*
*/
private String content;
/**
*
*/
private String status;
/**
*
*/
private String strategyType;
/**
* ID
*/
private Long strategyId;
}

View File

@ -2,13 +2,13 @@ package com.muyu.marketing.domain.resp;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.muyu.common.core.web.domain.BaseEntity; import com.muyu.common.core.web.domain.BaseEntity;
import com.muyu.marketing.domain.req.TeamProjectSkuInfoAddReq;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder; import lombok.experimental.SuperBuilder;
import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@ -18,7 +18,6 @@ import java.util.List;
@AllArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
public class ActivityTeamDetailResp extends BaseEntity { public class ActivityTeamDetailResp extends BaseEntity {
/** /**
* ID * ID
*/ */
@ -42,12 +41,10 @@ public class ActivityTeamDetailResp extends BaseEntity {
/** /**
* *
*/ */
private String unit; private String unit;
/** /**
* *
*/ */
private String imageList; private String imageList;
/** /**
* *
@ -61,7 +58,7 @@ public class ActivityTeamDetailResp extends BaseEntity {
/** /**
* SkU * SkU
*/ */
private List<ActivityTeamProjectSkuResp> activityTeamProjectSkuList; private List<ActivityTeamProjectSkuResp> ActivityTeamProjectSkuRespList;
/** /**
* *
*/ */
@ -78,4 +75,12 @@ public class ActivityTeamDetailResp extends BaseEntity {
* ID * ID
*/ */
private Long strategyId; private Long strategyId;
@NoArgsConstructor
@Data
public static class ActivityTeamProjectSkuResp{
private Long teamStock;
private String sku;
private BigDecimal teamPrice;
}
} }

View File

@ -1,7 +1,5 @@
package com.muyu.marketing.domain.resp; package com.muyu.marketing.domain.resp;
import com.muyu.marketing.domain.ActivityTeamProductSkuInfo;
import com.muyu.marketing.domain.model.ActivityTeamProductSkuAddModel;
import com.muyu.marketing.domain.model.ActivityTeamProductSkuModel; import com.muyu.marketing.domain.model.ActivityTeamProductSkuModel;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;

View File

@ -2,7 +2,6 @@ package com.muyu.marketing.domain.resp;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.muyu.marketing.domain.model.ActivityTeamDetailModel; import com.muyu.marketing.domain.model.ActivityTeamDetailModel;
import com.muyu.marketing.domain.req.ProjectSkuInfoAddReq;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
@ -45,12 +44,10 @@ public class TeamInfoFindByIdResp {
/** /**
* *
*/ */
private String unit; private String unit;
/** /**
* *
*/ */
private String imageList; private String imageList;
/** /**
* *

View File

@ -1,17 +1,20 @@
package com.muyu.marketing.team.controller; package com.muyu.marketing.team.controller;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.muyu.common.core.domain.Result; import com.muyu.common.core.domain.Result;
import com.muyu.common.core.web.page.TableDataInfo; import com.muyu.common.core.web.page.TableDataInfo;
import com.muyu.marketing.domain.model.ActivityTeamInfoAddModel; import com.muyu.marketing.domain.ActivityTeamInfo;
import com.muyu.marketing.domain.model.ActivityTeamInfoListModel; import com.muyu.marketing.domain.ActivityTeamProductSkuInfo;
import com.muyu.marketing.domain.model.ActivityTeamInfoUpdModel; import com.muyu.marketing.domain.model.*;
import com.muyu.marketing.domain.req.ActivityTeamInfoSaveReq; import com.muyu.marketing.domain.req.ActivityTeamInfoSaveReq;
import com.muyu.marketing.domain.req.ActivityTeamInfoUpdReq; import com.muyu.marketing.domain.req.ActivityTeamInfoUpdReq;
import com.muyu.marketing.domain.req.TeamInfoListReq; import com.muyu.marketing.domain.req.TeamInfoListReq;
import com.muyu.marketing.domain.resp.TeamInfoFindByIdResp; import com.muyu.marketing.domain.resp.TeamInfoFindByIdResp;
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 com.muyu.marketing.team.service.ActivityTeamProductSkuInfoService;
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.*;
@ -28,7 +31,9 @@ import java.util.List;
public class ActivityTeamController { public class ActivityTeamController {
@Autowired @Autowired
private ActivityTeamInfoService activityTeamInfoService;; private ActivityTeamInfoService activityTeamInfoService;
@Autowired
private ActivityTeamProductSkuInfoService skuInfoService;
/** /**
* *
@ -53,19 +58,56 @@ public class ActivityTeamController {
* @param activityTeamInfoSaveReq * @param activityTeamInfoSaveReq
* @return * @return
*/ */
@PostMapping @PostMapping("/save")
public Result<String> save(@RequestBody ActivityTeamInfoSaveReq activityTeamInfoSaveReq) { public Result<String> save(@RequestBody ActivityTeamInfoSaveReq activityTeamInfoSaveReq) {
activityTeamInfoService.save(ActivityTeamInfoAddModel.addReqBuild(activityTeamInfoSaveReq)); activityTeamInfoService.save(ActivityTeamInfoAddModel.addReqBuild(activityTeamInfoSaveReq));
return Result.success(); return Result.success("添加成功");
} }
/**
* id
*/
@PostMapping("/detail")
public List<ActivityTeamProductSkuModel> findListByTeamId(Long teamId) {
List<ActivityTeamProductSkuModel> list = skuInfoService.findListByTeamId(teamId);
return list;
}
/**
*
* @param id
* @return
*/
@GetMapping("/findTeam/{id}")
public Result<List<ActivityTeamInfo>> findTeam(@PathVariable("id") Long id){
return Result.success(activityTeamInfoService.findTeam(id));
}
/** id
* @param id
* @return
*/
@PostMapping("/findById/{id}") @PostMapping("/findById/{id}")
public Result<TeamInfoFindByIdResp> findTeamById(@PathVariable Long id) { public Result<TeamInfoFindByIdResp> findTeamById(@PathVariable Long id) {
return Result.success(TeamInfoFindByIdResp.teamInfoFindByIdBuild(activityTeamInfoService.findDetailById(id))); return Result.success(TeamInfoFindByIdResp.teamInfoFindByIdBuild(activityTeamInfoService.findDetailById(id)));
} }
@PutMapping("/updateByTeamId") @PutMapping("/updateByTeamId")
public Result updateByTeamId(@RequestBody ActivityTeamInfoUpdReq activityTeamInfoUpdReq){ public Result updateByTeamId(@RequestBody ActivityTeamInfoUpdReq activityTeamInfoUpdReq){
activityTeamInfoService.update(ActivityTeamInfoUpdModel.activityTeamInfoUpdReqModelBuild(activityTeamInfoUpdReq)); activityTeamInfoService.update(ActivityTeamInfoUpdModel.activityTeamInfoUpdReqModelBuild(activityTeamInfoUpdReq));
return Result.success(); return Result.success();
} }
/**
*
*/
@GetMapping("/teamList")
public Result<TableDataInfo<ActivityTeamInfo>> teamList( TeamInfoListReq teamInfoListReq){
PageHelper.startPage(teamInfoListReq.getPageNum(), teamInfoListReq.getPageSize());
PageInfo<ActivityTeamInfo> pageInfo = new PageInfo<>(activityTeamInfoService.list());
TableDataInfo<ActivityTeamInfo> tableDataInfo = new TableDataInfo<>();
tableDataInfo.setRows(pageInfo.getList());
tableDataInfo.setTotal(pageInfo.getTotal());
return Result.success(tableDataInfo);
}
} }

View File

@ -2,9 +2,12 @@ package com.muyu.marketing.team.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.marketing.domain.ActivityTeamInfo; import com.muyu.marketing.domain.ActivityTeamInfo;
import com.muyu.marketing.domain.model.ActivityTeamProductSkuInfoForeignKeyModel;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper @Mapper
public interface ActivityTeamInfoMapper extends BaseMapper<ActivityTeamInfo> { public interface ActivityTeamInfoMapper extends BaseMapper<ActivityTeamInfo> {
// List<ActivityTeamProductSkuInfoForeignKeyModel> lists();
} }

View File

@ -5,6 +5,8 @@ import com.muyu.common.core.web.page.TableDataInfo;
import com.muyu.marketing.domain.ActivityTeamInfo; import com.muyu.marketing.domain.ActivityTeamInfo;
import com.muyu.marketing.domain.model.*; import com.muyu.marketing.domain.model.*;
import java.util.List;
public interface ActivityTeamInfoService extends IService<ActivityTeamInfo> { public interface ActivityTeamInfoService extends IService<ActivityTeamInfo> {
@ -35,5 +37,9 @@ public interface ActivityTeamInfoService extends IService<ActivityTeamInfo> {
*/ */
boolean update(ActivityTeamInfoUpdModel activityTeamInfoUpdModel); boolean update(ActivityTeamInfoUpdModel activityTeamInfoUpdModel);
List<ActivityTeamInfo> findTeam(Long id);
// List<ActivityTeamProductSkuInfoForeignKeyModel> lists();
} }

View File

@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.common.core.utils.StringUtils; import com.muyu.common.core.utils.StringUtils;
import com.muyu.common.core.web.page.TableDataInfo; import com.muyu.common.core.web.page.TableDataInfo;
import com.muyu.marketing.domain.ActivityTeamInfo; import com.muyu.marketing.domain.ActivityTeamInfo;
import com.muyu.marketing.domain.ActivityTeamProductSkuInfo;
import com.muyu.marketing.domain.model.*; import com.muyu.marketing.domain.model.*;
import com.muyu.marketing.team.mapper.ActivityTeamInfoMapper; import com.muyu.marketing.team.mapper.ActivityTeamInfoMapper;
import com.muyu.marketing.team.service.ActivityTeamInfoService; import com.muyu.marketing.team.service.ActivityTeamInfoService;
@ -27,6 +28,8 @@ public class ActivityTeamInfoServiceImpl extends ServiceImpl<ActivityTeamInfoMap
@Autowired @Autowired
private ActivityTeamProductSkuInfoService activityTeamProductSkuInfoService; private ActivityTeamProductSkuInfoService activityTeamProductSkuInfoService;
@Autowired
private ActivityTeamInfoMapper activityTeamInfoMapper;
@Override @Override
public TableDataInfo<ActivityTeamInfoListModel> query(ActivityTeamInfoListQueryModel activityTeamInfoListQueryModel) { public TableDataInfo<ActivityTeamInfoListModel> query(ActivityTeamInfoListQueryModel activityTeamInfoListQueryModel) {
@ -73,7 +76,7 @@ public class ActivityTeamInfoServiceImpl extends ServiceImpl<ActivityTeamInfoMap
@Override @Override
public void save(ActivityTeamInfoAddModel activityTeamInfoAddModel) { public void save(ActivityTeamInfoAddModel activityTeamInfoAddModel) {
ActivityTeamInfo activityTeamInfo = ActivityTeamInfo.addModelBuild(activityTeamInfoAddModel); ActivityTeamInfo activityTeamInfo = ActivityTeamInfo.addModelBuild(activityTeamInfoAddModel);
Assert.isTrue(this.save(activityTeamInfo), StringUtils.format("团购活动添加失败[{}]", activityTeamInfoAddModel)); Assert.isTrue(this.save(activityTeamInfo),StringUtils.format("团购活动添加失败: [{}]", activityTeamInfoAddModel));
List<ActivityTeamProductSkuAddModel> teamProductSkuAddModelList = activityTeamInfoAddModel.getActivityTeamProductSkuAddModelList(); List<ActivityTeamProductSkuAddModel> teamProductSkuAddModelList = activityTeamInfoAddModel.getActivityTeamProductSkuAddModelList();
teamProductSkuAddModelList.forEach(activityTeamProductSkuAddModel -> activityTeamProductSkuAddModel.setTeamId(activityTeamInfo.getId())); teamProductSkuAddModelList.forEach(activityTeamProductSkuAddModel -> activityTeamProductSkuAddModel.setTeamId(activityTeamInfo.getId()));
this.activityTeamProductSkuInfoService.batchSave(teamProductSkuAddModelList); this.activityTeamProductSkuInfoService.batchSave(teamProductSkuAddModelList);
@ -105,4 +108,13 @@ public class ActivityTeamInfoServiceImpl extends ServiceImpl<ActivityTeamInfoMap
activityTeamProductSkuInfoService.setting(activityTeamInfoUpdModel.getActivityTeamProductSkuSettingModel()); activityTeamProductSkuInfoService.setting(activityTeamInfoUpdModel.getActivityTeamProductSkuSettingModel());
return update; return update;
} }
@Override
public List<ActivityTeamInfo> findTeam(Long id) {
LambdaQueryWrapper<ActivityTeamInfo> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ActivityTeamInfo::getProductId,id);
queryWrapper.last("limit 2");
return this.list(queryWrapper);
}
} }

View File

@ -41,7 +41,7 @@ public class ActivityTeamProductSkuInfoServiceImpl extends ServiceImpl<ActivityT
// 优惠模型集合 // 优惠模型集合
Optional<TeamProductDiscountPriceModel> discountPriceModelOptional = teamProductSkuInfoList.stream() Optional<TeamProductDiscountPriceModel> discountPriceModelOptional = teamProductSkuInfoList.stream()
.map(activityTeamProductSkuInfo -> { .map(activityTeamProductSkuInfo -> {
ProjectSkuInfo projectSkuInfo = projectSkuCache.get(activityTeamProductSkuInfo.getProductId(), activityTeamProductSkuInfo.getProductSku()); ProjectSkuInfo projectSkuInfo = projectSkuCache.getData(activityTeamProductSkuInfo.getProductId(), activityTeamProductSkuInfo.getProductSku());
return TeamProductDiscountPriceModel.of(projectSkuInfo.getPrice(), activityTeamProductSkuInfo.getTeamPrice()); return TeamProductDiscountPriceModel.of(projectSkuInfo.getPrice(), activityTeamProductSkuInfo.getTeamPrice());
}).min((o1, o2) -> Double.valueOf(o1.getDiscount() * 100 - o2.getDiscount() * 100).intValue()); }).min((o1, o2) -> Double.valueOf(o1.getDiscount() * 100 - o2.getDiscount() * 100).intValue());
@ -87,13 +87,20 @@ public class ActivityTeamProductSkuInfoServiceImpl extends ServiceImpl<ActivityT
* @param teamId ID * @param teamId ID
* @return SKU * @return SKU
*/ */
// @Override
// public List<ActivityTeamProductSkuModel> findListByTeamId(Long teamId) {
// LambdaQueryWrapper<ActivityTeamProductSkuInfo> queryWrapper = new LambdaQueryWrapper<>();
// queryWrapper.eq(ActivityTeamProductSkuInfo::getTeamId,teamId);
// List<ActivityTeamProductSkuInfo> list = this.list(queryWrapper);
// return list.stream().map(ActivityTeamProductSkuModel::FindBuild).toList();
//// return list.stream().map(activityTeamProductSkuInfo -> ActivityTeamProductSkuModel.FindBuild(activityTeamProductSkuInfo)).toList();
// }
@Override @Override
public List<ActivityTeamProductSkuModel> findListByTeamId(Long teamId) { public List<ActivityTeamProductSkuModel> findListByTeamId(Long teamId) {
LambdaQueryWrapper<ActivityTeamProductSkuInfo> queryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<ActivityTeamProductSkuInfo> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ActivityTeamProductSkuInfo::getTeamId,teamId); queryWrapper.eq(ActivityTeamProductSkuInfo::getTeamId,teamId);
List<ActivityTeamProductSkuInfo> list = this.list(queryWrapper); List<ActivityTeamProductSkuInfo> list = this.list(queryWrapper);
return list.stream().map(ActivityTeamProductSkuModel::FindBuild).toList(); return list.stream().map(ActivityTeamProductSkuModel::FindBuild).toList();
// return list.stream().map(activityTeamProductSkuInfo -> ActivityTeamProductSkuModel.FindBuild(activityTeamProductSkuInfo)).toList();
} }
@Transactional @Transactional

View File

@ -6,7 +6,7 @@ server:
spring: spring:
application: application:
# 应用名称 # 应用名称
name: muyu-buy name: muyu-marketing
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: dev
@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -74,6 +74,13 @@ public class CommentInfoController extends BaseController {
public Result<CommentInfo> getInfo(@PathVariable("id") Long id) { public Result<CommentInfo> getInfo(@PathVariable("id") Long id) {
return Result.success(commentInfoService.getById(id)); return Result.success(commentInfoService.getById(id));
} }
/**
*
*/
@GetMapping(value = "/find/{id}")
public Result<List<CommentInfo>> getFindById(@PathVariable("id") Long id) {
return Result.success(commentInfoService.getFindById(id));
}
/** /**
* *

View File

@ -48,7 +48,7 @@ public class ProjectInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品信息列表") @ApiOperation("获取商品信息列表")
@RequiresPermissions("product:info:list") // @RequiresPermissions("product:info:list")
@GetMapping("/list") @GetMapping("/list")
public Result<TableDataInfo<ProjectInfo>> list(ProjectInfoQueryReq projectInfoQueryReq) { public Result<TableDataInfo<ProjectInfo>> list(ProjectInfoQueryReq projectInfoQueryReq) {
startPage(); startPage();

View File

@ -18,5 +18,8 @@ public interface CommentInfoService extends IService<CommentInfo> {
* @return * @return
*/ */
public List<CommentInfo> list(CommentInfo commentInfo); public List<CommentInfo> list(CommentInfo commentInfo);
/**
*
*/
List<CommentInfo> getFindById(Long id);
} }

View File

@ -49,9 +49,16 @@ public class CommentInfoServiceImpl extends ServiceImpl<CommentInfoMapper, Comme
} }
return list(queryWrapper); return list(queryWrapper);
} }
/**
*
*/
@Override
public List<CommentInfo> getFindById(Long id) {
LambdaQueryWrapper<CommentInfo> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(CommentInfo::getProjectId,id);
queryWrapper.last("limit 2");
return this.list(queryWrapper);
}
} }

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -16,10 +16,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -14,10 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
config: config:
# 配置中心地址 # 配置中心地址
server-addr: 127.0.0.1:8848 server-addr: 150.158.86.96:8848
namespace: 2204a
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -4,7 +4,7 @@
Source Server : 5.7 Source Server : 5.7
Source Server Type : MySQL Source Server Type : MySQL
Source Server Version : 50737 Source Server Version : 50737
Source Host : 127.0.0.1:3306 Source Host : 150.158.86.96:3306
Source Schema : product Source Schema : product
Target Server Type : MySQL Target Server Type : MySQL
@ -356,10 +356,10 @@ CREATE TABLE `brand_info` (
-- ---------------------------- -- ----------------------------
-- Records of brand_info -- Records of brand_info
-- ---------------------------- -- ----------------------------
INSERT INTO `brand_info` VALUES (2, '华为', 'http://127.0.0.1:9300/statics/2024/03/05/仓鼠_20240305092606A001.png', 'Y', '', ' 几乎一个', 'admin', '2024-03-05 09:26:09', 'admin', '2024-03-08 20:48:35'); INSERT INTO `brand_info` VALUES (2, '华为', 'http://150.158.86.96:9300/statics/2024/03/05/仓鼠_20240305092606A001.png', 'Y', '', ' 几乎一个', 'admin', '2024-03-05 09:26:09', 'admin', '2024-03-08 20:48:35');
INSERT INTO `brand_info` VALUES (3, '苹果', 'http://127.0.0.1:9300/statics/2024/03/05/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240305092615A002.png', 'Y', '', 'i看机会', 'admin', '2024-03-05 09:26:18', 'admin', '2024-03-08 20:48:26'); INSERT INTO `brand_info` VALUES (3, '苹果', 'http://150.158.86.96:9300/statics/2024/03/05/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240305092615A002.png', 'Y', '', 'i看机会', 'admin', '2024-03-05 09:26:18', 'admin', '2024-03-08 20:48:26');
INSERT INTO `brand_info` VALUES (4, '小米', 'http://127.0.0.1:9300/statics/2024/03/21/1688525436945_20240321112835A002.jpg', 'Y', NULL, NULL, 'admin', '2024-03-21 11:28:39', NULL, NULL); INSERT INTO `brand_info` VALUES (4, '小米', 'http://150.158.86.96:9300/statics/2024/03/21/1688525436945_20240321112835A002.jpg', 'Y', NULL, NULL, 'admin', '2024-03-21 11:28:39', NULL, NULL);
INSERT INTO `brand_info` VALUES (5, '苹果', 'http://127.0.0.1:9300/statics/2024/03/26/647726DD13E751DA201EE4D5E9D2A280_20240326135516A015.jpg', 'Y', '而东风', '他又何必', 'admin', '2024-03-26 13:55:47', NULL, NULL); INSERT INTO `brand_info` VALUES (5, '苹果', 'http://150.158.86.96:9300/statics/2024/03/26/647726DD13E751DA201EE4D5E9D2A280_20240326135516A015.jpg', 'Y', '而东风', '他又何必', 'admin', '2024-03-26 13:55:47', NULL, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for category_info -- Table structure for category_info
@ -383,23 +383,23 @@ CREATE TABLE `category_info` (
-- ---------------------------- -- ----------------------------
-- Records of category_info -- Records of category_info
-- ---------------------------- -- ----------------------------
INSERT INTO `category_info` VALUES (1, '节点1', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170131A002.png', 0, 'Y', '介绍', NULL, 'admin', '2024-02-28 17:09:11', NULL, NULL); INSERT INTO `category_info` VALUES (1, '节点1', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170131A002.png', 0, 'Y', '介绍', NULL, 'admin', '2024-02-28 17:09:11', NULL, NULL);
INSERT INTO `category_info` VALUES (2, '节点1-1', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170926A003.png', 1, 'Y', '测试', NULL, 'admin', '2024-02-28 17:09:31', NULL, NULL); INSERT INTO `category_info` VALUES (2, '节点1-1', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170926A003.png', 1, 'Y', '测试', NULL, 'admin', '2024-02-28 17:09:31', NULL, NULL);
INSERT INTO `category_info` VALUES (3, '节点1-1-1', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170944A004.png', 2, 'Y', '测试', NULL, 'admin', '2024-02-28 17:09:48', NULL, NULL); INSERT INTO `category_info` VALUES (3, '节点1-1-1', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170944A004.png', 2, 'Y', '测试', NULL, 'admin', '2024-02-28 17:09:48', NULL, NULL);
INSERT INTO `category_info` VALUES (4, '节点2', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170956A005.png', 0, 'Y', '', NULL, 'admin', '2024-02-28 17:09:58', NULL, NULL); INSERT INTO `category_info` VALUES (4, '节点2', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228170956A005.png', 0, 'Y', '', NULL, 'admin', '2024-02-28 17:09:58', NULL, NULL);
INSERT INTO `category_info` VALUES (5, '节点2-1', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228171012A006.png', 4, 'Y', '测试', NULL, 'admin', '2024-02-28 17:10:14', NULL, NULL); INSERT INTO `category_info` VALUES (5, '节点2-1', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228171012A006.png', 4, 'Y', '测试', NULL, 'admin', '2024-02-28 17:10:14', NULL, NULL);
INSERT INTO `category_info` VALUES (6, '节点2-1-1', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228171031A007.png', 5, 'Y', '', NULL, 'admin', '2024-02-28 17:10:34', NULL, NULL); INSERT INTO `category_info` VALUES (6, '节点2-1-1', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228171031A007.png', 5, 'Y', '', NULL, 'admin', '2024-02-28 17:10:34', NULL, NULL);
INSERT INTO `category_info` VALUES (7, '节点1-1-2', 'http://127.0.0.1:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228171047A008.png', 2, 'Y', '测试', NULL, 'admin', '2024-02-28 17:10:50', NULL, NULL); INSERT INTO `category_info` VALUES (7, '节点1-1-2', 'http://150.158.86.96:9300/statics/2024/02/28/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240228171047A008.png', 2, 'Y', '测试', NULL, 'admin', '2024-02-28 17:10:50', NULL, NULL);
INSERT INTO `category_info` VALUES (13, '测试-1', 'http://127.0.0.1:9300/statics/2024/03/01/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240301114154A001.png', 0, 'Y', NULL, NULL, 'admin', '2024-03-01 11:42:03', NULL, NULL); INSERT INTO `category_info` VALUES (13, '测试-1', 'http://150.158.86.96:9300/statics/2024/03/01/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240301114154A001.png', 0, 'Y', NULL, NULL, 'admin', '2024-03-01 11:42:03', NULL, NULL);
INSERT INTO `category_info` VALUES (14, '测试1-1', 'http://127.0.0.1:9300/statics/2024/03/01/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240301114209A002.png', 13, 'Y', NULL, NULL, 'admin', '2024-03-01 11:42:22', NULL, NULL); INSERT INTO `category_info` VALUES (14, '测试1-1', 'http://150.158.86.96:9300/statics/2024/03/01/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240301114209A002.png', 13, 'Y', NULL, NULL, 'admin', '2024-03-01 11:42:22', NULL, NULL);
INSERT INTO `category_info` VALUES (15, '测试1-2', 'http://127.0.0.1:9300/statics/2024/03/01/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240301114446A003.png', 13, 'Y', NULL, NULL, 'admin', '2024-03-01 11:44:56', NULL, NULL); INSERT INTO `category_info` VALUES (15, '测试1-2', 'http://150.158.86.96:9300/statics/2024/03/01/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240301114446A003.png', 13, 'Y', NULL, NULL, 'admin', '2024-03-01 11:44:56', NULL, NULL);
INSERT INTO `category_info` VALUES (16, '测试1-1-1', 'http://127.0.0.1:9300/statics/2024/03/06/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240306162814A001.png', 14, 'Y', NULL, NULL, 'admin', '2024-03-06 16:28:27', NULL, NULL); INSERT INTO `category_info` VALUES (16, '测试1-1-1', 'http://150.158.86.96:9300/statics/2024/03/06/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240306162814A001.png', 14, 'Y', NULL, NULL, 'admin', '2024-03-06 16:28:27', NULL, NULL);
INSERT INTO `category_info` VALUES (17, '顶级1', 'http://127.0.0.1:9300/statics/2024/03/08/花木兰_20240308170205A043.png', 0, 'Y', NULL, NULL, 'admin', '2024-03-08 17:02:31', NULL, NULL); INSERT INTO `category_info` VALUES (17, '顶级1', 'http://150.158.86.96:9300/statics/2024/03/08/花木兰_20240308170205A043.png', 0, 'Y', NULL, NULL, 'admin', '2024-03-08 17:02:31', NULL, NULL);
INSERT INTO `category_info` VALUES (18, '测试1-2-1', 'http://127.0.0.1:9300/statics/2024/03/21/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240321112815A001.png', 15, 'Y', NULL, NULL, 'admin', '2024-03-21 11:28:17', NULL, NULL); INSERT INTO `category_info` VALUES (18, '测试1-2-1', 'http://150.158.86.96:9300/statics/2024/03/21/7GHOYz1SWffN43a77d257b422464c35bc1da44fc6742_20240321112815A001.png', 15, 'Y', NULL, NULL, 'admin', '2024-03-21 11:28:17', NULL, NULL);
INSERT INTO `category_info` VALUES (19, '二〇二四年四月九日', 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212327A001.jpg', 15, 'Y', NULL, NULL, 'admin', '2024-04-09 21:23:29', NULL, NULL); INSERT INTO `category_info` VALUES (19, '二〇二四年四月九日', 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212327A001.jpg', 15, 'Y', NULL, NULL, 'admin', '2024-04-09 21:23:29', NULL, NULL);
INSERT INTO `category_info` VALUES (20, '2024年5月15日-1', 'http://127.0.0.1:9300/statics/2024/05/15/1688525436945_20240515194730A001.jpg', 0, 'Y', NULL, NULL, 'admin', '2024-05-15 19:47:42', NULL, NULL); INSERT INTO `category_info` VALUES (20, '2024年5月15日-1', 'http://150.158.86.96:9300/statics/2024/05/15/1688525436945_20240515194730A001.jpg', 0, 'Y', NULL, NULL, 'admin', '2024-05-15 19:47:42', NULL, NULL);
INSERT INTO `category_info` VALUES (21, '2024年5月15日-1-1', 'http://127.0.0.1:9300/statics/2024/05/15/1688527462686_20240515194817A002.jpg', 20, 'Y', NULL, NULL, 'admin', '2024-05-15 19:48:19', NULL, NULL); INSERT INTO `category_info` VALUES (21, '2024年5月15日-1-1', 'http://150.158.86.96:9300/statics/2024/05/15/1688527462686_20240515194817A002.jpg', 20, 'Y', NULL, NULL, 'admin', '2024-05-15 19:48:19', NULL, NULL);
INSERT INTO `category_info` VALUES (22, '2024年5月15日-1-1-1', 'http://127.0.0.1:9300/statics/2024/05/15/1688527462686_20240515194838A003.jpg', 21, 'Y', NULL, NULL, 'admin', '2024-05-15 19:48:46', NULL, NULL); INSERT INTO `category_info` VALUES (22, '2024年5月15日-1-1-1', 'http://150.158.86.96:9300/statics/2024/05/15/1688527462686_20240515194838A003.jpg', 21, 'Y', NULL, NULL, 'admin', '2024-05-15 19:48:46', NULL, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for comment_info -- Table structure for comment_info
@ -470,12 +470,12 @@ CREATE TABLE `project_info` (
-- ---------------------------- -- ----------------------------
-- Records of project_info -- Records of project_info
-- ---------------------------- -- ----------------------------
INSERT INTO `project_info` VALUES (1, '测试', '123', '13', '14', '16', 'http://127.0.0.1:9300/statics/2024/03/22/1688525436945_20240322144241A033.jpg', 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144244A034.jpg', 'Y', 5, 4, NULL, 'admin', '2024-03-22 14:44:47', NULL, NULL); INSERT INTO `project_info` VALUES (1, '测试', '123', '13', '14', '16', 'http://150.158.86.96:9300/statics/2024/03/22/1688525436945_20240322144241A033.jpg', 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144244A034.jpg', 'Y', 5, 4, NULL, 'admin', '2024-03-22 14:44:47', NULL, NULL);
INSERT INTO `project_info` VALUES (2, '测试', '123', '13', '14', '16', 'http://127.0.0.1:9300/statics/2024/03/22/1688525436945_20240322144241A033.jpg', 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144244A034.jpg,http://127.0.0.1:9300/statics/2024/03/22/1688525436945_20240322144241A033.jpg', 'Y', 5, 4, NULL, 'admin', '2024-03-22 14:45:17', NULL, NULL); INSERT INTO `project_info` VALUES (2, '测试', '123', '13', '14', '16', 'http://150.158.86.96:9300/statics/2024/03/22/1688525436945_20240322144241A033.jpg', 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144244A034.jpg,http://150.158.86.96:9300/statics/2024/03/22/1688525436945_20240322144241A033.jpg', 'Y', 5, 4, NULL, 'admin', '2024-03-22 14:45:17', NULL, NULL);
INSERT INTO `project_info` VALUES (3, '小米10 pro max ', '<p><img src=\"http://127.0.0.1:9300/statics/2024/03/26/20210125092431_20240326110040A008.png\"></p><p><img src=\"http://127.0.0.1:9300/statics/2024/03/26/20210125092537_20240326110045A009.png\"></p><p><img src=\"http://127.0.0.1:9300/statics/2024/03/26/20210125092613_20240326110052A010.png\"></p><p><img src=\"http://127.0.0.1:9300/statics/2024/03/26/20210125092820_20240326110059A011.png\"></p><p><img src=\"http://127.0.0.1:9300/statics/2024/03/26/T20210125092733_20240326110106A012.png\"></p>', '13', '14', '16', 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105343A001.png', 'http://127.0.0.1:9300/statics/2024/03/26/20210115220654_20240326105350A002.png,http://127.0.0.1:9300/statics/2024/03/26/20210115220705_20240326105350A003.png,http://127.0.0.1:9300/statics/2024/03/26/20210115220715_20240326105350A004.png', 'Y', 5, 4, NULL, 'admin', '2024-03-26 10:58:09', NULL, NULL); INSERT INTO `project_info` VALUES (3, '小米10 pro max ', '<p><img src=\"http://150.158.86.96:9300/statics/2024/03/26/20210125092431_20240326110040A008.png\"></p><p><img src=\"http://150.158.86.96:9300/statics/2024/03/26/20210125092537_20240326110045A009.png\"></p><p><img src=\"http://150.158.86.96:9300/statics/2024/03/26/20210125092613_20240326110052A010.png\"></p><p><img src=\"http://150.158.86.96:9300/statics/2024/03/26/20210125092820_20240326110059A011.png\"></p><p><img src=\"http://150.158.86.96:9300/statics/2024/03/26/T20210125092733_20240326110106A012.png\"></p>', '13', '14', '16', 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105343A001.png', 'http://150.158.86.96:9300/statics/2024/03/26/20210115220654_20240326105350A002.png,http://150.158.86.96:9300/statics/2024/03/26/20210115220705_20240326105350A003.png,http://150.158.86.96:9300/statics/2024/03/26/20210115220715_20240326105350A004.png', 'Y', 5, 4, NULL, 'admin', '2024-03-26 10:58:09', NULL, NULL);
INSERT INTO `project_info` VALUES (4, '小米11 pro max ', '商品非常不错', '13', '14', '16', 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105343A001.png', 'http://127.0.0.1:9300/statics/2024/03/26/20210115220654_20240326105350A002.png,http://127.0.0.1:9300/statics/2024/03/26/20210115220705_20240326105350A003.png,http://127.0.0.1:9300/statics/2024/03/26/20210115220715_20240326105350A004.png', 'Y', 5, 4, NULL, 'admin', '2024-03-26 11:17:12', NULL, NULL); INSERT INTO `project_info` VALUES (4, '小米11 pro max ', '商品非常不错', '13', '14', '16', 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105343A001.png', 'http://150.158.86.96:9300/statics/2024/03/26/20210115220654_20240326105350A002.png,http://150.158.86.96:9300/statics/2024/03/26/20210115220705_20240326105350A003.png,http://150.158.86.96:9300/statics/2024/03/26/20210115220715_20240326105350A004.png', 'Y', 5, 4, NULL, 'admin', '2024-03-26 11:17:12', NULL, NULL);
INSERT INTO `project_info` VALUES (5, '测试', '出生时', '13', '15', '19', 'http://127.0.0.1:9300/statics/2024/04/09/1688525436945_20240409212344A002.jpg', 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212346A003.jpg', 'Y', 5, 4, NULL, 'admin', '2024-04-09 21:24:36', NULL, NULL); INSERT INTO `project_info` VALUES (5, '测试', '出生时', '13', '15', '19', 'http://150.158.86.96:9300/statics/2024/04/09/1688525436945_20240409212344A002.jpg', 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212346A003.jpg', 'Y', 5, 4, NULL, 'admin', '2024-04-09 21:24:36', NULL, NULL);
INSERT INTO `project_info` VALUES (6, '测试法违法', '啊收发文', '13', '15', '18', 'http://127.0.0.1:9300/statics/2024/05/15/1688525436945_20240515194921A004.jpg', 'http://127.0.0.1:9300/statics/2024/05/15/1688527462686_20240515194923A005.jpg', 'Y', 5, 4, NULL, 'admin', '2024-05-15 19:50:34', NULL, NULL); INSERT INTO `project_info` VALUES (6, '测试法违法', '啊收发文', '13', '15', '18', 'http://150.158.86.96:9300/statics/2024/05/15/1688525436945_20240515194921A004.jpg', 'http://150.158.86.96:9300/statics/2024/05/15/1688527462686_20240515194923A005.jpg', 'Y', 5, 4, NULL, 'admin', '2024-05-15 19:50:34', NULL, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for project_sku_info -- Table structure for project_sku_info
@ -499,38 +499,38 @@ CREATE TABLE `project_sku_info` (
-- ---------------------------- -- ----------------------------
-- Records of project_sku_info -- Records of project_sku_info
-- ---------------------------- -- ----------------------------
INSERT INTO `project_sku_info` VALUES (1, 2, '骁龙888-8G-128G', 12, 12.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (1, 2, '骁龙888-8G-128G', 12, 12.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (2, 2, '骁龙888-8G-512G', 565, 565.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (2, 2, '骁龙888-8G-512G', 565, 565.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (3, 2, '骁龙888-16G-128G', 485, 485.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (3, 2, '骁龙888-16G-128G', 485, 485.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (4, 2, '骁龙888-16G-512G', 658, 658.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (4, 2, '骁龙888-16G-512G', 658, 658.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (5, 2, '骁龙888plus-8G-128G', 425, 425.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (5, 2, '骁龙888plus-8G-128G', 425, 425.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (6, 2, '骁龙888plus-8G-512G', 963, 963.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (6, 2, '骁龙888plus-8G-512G', 963, 963.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (7, 2, '骁龙888plus-16G-128G', 875, 875.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (7, 2, '骁龙888plus-16G-128G', 875, 875.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (8, 2, '骁龙888plus-16G-512G', 458, 458.000000, 'http://127.0.0.1:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (8, 2, '骁龙888plus-16G-512G', 458, 458.000000, 'http://150.158.86.96:9300/statics/2024/03/22/1688527462686_20240322144513A035.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (17, 3, '骁龙888-8G-128G', 25, 2999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (17, 3, '骁龙888-8G-128G', 25, 2999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (18, 3, '骁龙888-8G-512G', 25, 3999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (18, 3, '骁龙888-8G-512G', 25, 3999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (19, 3, '骁龙888-16G-128G', 25, 3666.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (19, 3, '骁龙888-16G-128G', 25, 3666.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (20, 3, '骁龙888-16G-512G', 25, 4999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (20, 3, '骁龙888-16G-512G', 25, 4999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (21, 3, '骁龙888plus-8G-128G', 25, 5999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (21, 3, '骁龙888plus-8G-128G', 25, 5999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (22, 3, '骁龙888plus-8G-512G', 25, 4356.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (22, 3, '骁龙888plus-8G-512G', 25, 4356.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (23, 3, '骁龙888plus-16G-128G', 25, 4699.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (23, 3, '骁龙888plus-16G-128G', 25, 4699.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (24, 3, '骁龙888plus-16G-512G', 25, 6599.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (24, 3, '骁龙888plus-16G-512G', 25, 6599.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (25, 4, '骁龙888-8G-128G', 25, 2999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (25, 4, '骁龙888-8G-128G', 25, 2999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (26, 4, '骁龙888-8G-512G', 25, 3999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (26, 4, '骁龙888-8G-512G', 25, 3999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (27, 4, '骁龙888-16G-128G', 25, 3666.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (27, 4, '骁龙888-16G-128G', 25, 3666.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (28, 4, '骁龙888-16G-512G', 25, 4999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (28, 4, '骁龙888-16G-512G', 25, 4999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (29, 4, '骁龙888plus-8G-128G', 25, 5999.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (29, 4, '骁龙888plus-8G-128G', 25, 5999.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (30, 4, '骁龙888plus-8G-512G', 25, 4356.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (30, 4, '骁龙888plus-8G-512G', 25, 4356.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (31, 4, '骁龙888plus-16G-128G', 25, 4699.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (31, 4, '骁龙888plus-16G-128G', 25, 4699.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (32, 4, '骁龙888plus-16G-512G', 25, 6599.000000, 'http://127.0.0.1:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (32, 4, '骁龙888plus-16G-512G', 25, 6599.000000, 'http://150.158.86.96:9300/statics/2024/03/26/20210115220633_20240326105615A005.png', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (33, 5, '骁龙888-8G-128G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (33, 5, '骁龙888-8G-128G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (34, 5, '骁龙888-8G-512G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (34, 5, '骁龙888-8G-512G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (35, 5, '骁龙888-16G-128G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (35, 5, '骁龙888-16G-128G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (36, 5, '骁龙888-16G-512G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (36, 5, '骁龙888-16G-512G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (37, 5, '骁龙888plus-8G-128G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (37, 5, '骁龙888plus-8G-128G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (38, 5, '骁龙888plus-8G-512G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (38, 5, '骁龙888plus-8G-512G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (39, 5, '骁龙888plus-16G-128G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (39, 5, '骁龙888plus-16G-128G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `project_sku_info` VALUES (40, 5, '骁龙888plus-16G-512G', 25, 1256.000000, 'http://127.0.0.1:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL); INSERT INTO `project_sku_info` VALUES (40, 5, '骁龙888plus-16G-512G', 25, 1256.000000, 'http://150.158.86.96:9300/statics/2024/04/09/1688527462686_20240409212426A004.jpg', NULL, NULL, NULL, NULL, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for rule_attr_info -- Table structure for rule_attr_info

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
Source Server : 5.7 Source Server : 5.7
Source Server Type : MySQL Source Server Type : MySQL
Source Server Version : 50737 Source Server Version : 50737
Source Host : 127.0.0.1:3306 Source Host : 150.158.86.96:3306
Source Schema : ry-config Source Schema : ry-config
Target Server Type : MySQL Target Server Type : MySQL
@ -47,16 +47,16 @@ CREATE TABLE `config_info` (
-- Records of config_info -- Records of config_info
-- ---------------------------- -- ----------------------------
INSERT INTO `config_info` VALUES (1, 'application-dev.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'aaa73b809cfd4d0058893aa13da57806', '2020-05-20 12:00:00', '2022-04-24 10:26:34', 'nacos', '0:0:0:0:0:0:0:1', '', '', '通用配置', 'null', 'null', 'yaml', NULL, ''); INSERT INTO `config_info` VALUES (1, 'application-dev.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'aaa73b809cfd4d0058893aa13da57806', '2020-05-20 12:00:00', '2022-04-24 10:26:34', 'nacos', '0:0:0:0:0:0:0:1', '', '', '通用配置', 'null', 'null', 'yaml', NULL, '');
INSERT INTO `config_info` VALUES (2, 'muyu-gateway-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: muyu-auth\n uri: lb://muyu-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: muyu-gen\n uri: lb://muyu-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: muyu-job\n uri: lb://muyu-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: muyu-system\n uri: lb://muyu-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: muyu-file\n uri: lb://muyu-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # 商品服务\n - id: muyu-product\n uri: lb://muyu-product\n predicates:\n - Path=/product/**\n filters:\n - StripPrefix=1\n # 商品服务\n - id: shopCart\n uri: lb://muyu-shop-cart\n predicates:\n - Path=/shopCart/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', 'f03d72cd72f12479a46f8aa2889833cf', '2020-05-14 14:17:55', '2024-03-29 06:56:29', 'nacos', '127.0.0.1', '', '', '网关模块', 'null', 'null', 'yaml', '', ''); INSERT INTO `config_info` VALUES (2, 'muyu-gateway-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: muyu-auth\n uri: lb://muyu-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: muyu-gen\n uri: lb://muyu-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: muyu-job\n uri: lb://muyu-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: muyu-system\n uri: lb://muyu-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: muyu-file\n uri: lb://muyu-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # 商品服务\n - id: muyu-product\n uri: lb://muyu-product\n predicates:\n - Path=/product/**\n filters:\n - StripPrefix=1\n # 商品服务\n - id: shopCart\n uri: lb://muyu-shop-cart\n predicates:\n - Path=/shopCart/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', 'f03d72cd72f12479a46f8aa2889833cf', '2020-05-14 14:17:55', '2024-03-29 06:56:29', 'nacos', '150.158.86.96', '', '', '网关模块', 'null', 'null', 'yaml', '', '');
INSERT INTO `config_info` VALUES (3, 'muyu-auth-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2020-11-20 00:00:00', '2022-09-29 02:48:42', 'nacos', '0:0:0:0:0:0:0:1', '', '', '认证中心', 'null', 'null', 'yaml', '', ''); INSERT INTO `config_info` VALUES (3, 'muyu-auth-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2020-11-20 00:00:00', '2022-09-29 02:48:42', 'nacos', '0:0:0:0:0:0:0:1', '', '', '认证中心', 'null', 'null', 'yaml', '', '');
INSERT INTO `config_info` VALUES (4, 'muyu-monitor-dev.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: muyu\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '6f122fd2bfb8d45f858e7d6529a9cd44', '2020-11-20 00:00:00', '2022-09-29 02:48:54', 'nacos', '0:0:0:0:0:0:0:1', '', '', '监控中心', 'null', 'null', 'yaml', '', ''); INSERT INTO `config_info` VALUES (4, 'muyu-monitor-dev.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: muyu\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '6f122fd2bfb8d45f858e7d6529a9cd44', '2020-11-20 00:00:00', '2022-09-29 02:48:54', 'nacos', '0:0:0:0:0:0:0:1', '', '', '监控中心', 'null', 'null', 'yaml', '', '');
INSERT INTO `config_info` VALUES (5, 'muyu-system-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.system\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip\n\n\ngaode:\n key: 9d17aa33a6d6d32bd34944f0d8ae60cf', '1389042777f9f091c7f95627534a56e3', '2020-11-20 00:00:00', '2024-04-11 03:31:57', 'nacos', '127.0.0.1', '', '', '系统模块', 'null', 'null', 'yaml', '', ''); INSERT INTO `config_info` VALUES (5, 'muyu-system-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.system\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip\n\n\ngaode:\n key: 9d17aa33a6d6d32bd34944f0d8ae60cf', '1389042777f9f091c7f95627534a56e3', '2020-11-20 00:00:00', '2024-04-11 03:31:57', 'nacos', '150.158.86.96', '', '', '系统模块', 'null', 'null', 'yaml', '', '');
INSERT INTO `config_info` VALUES (6, 'muyu-gen-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.gen.domain\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip\n\n# 代码生成\ngen:\n # 作者\n author: DongZeLiang\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: com.muyu.product\n # 自动去除表前缀默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '2eb9f41bee0332235f3baca38e603abb', '2020-11-20 00:00:00', '2024-02-27 03:00:52', 'nacos', '127.0.0.1', '', '', '代码生成', 'null', 'null', 'yaml', '', ''); INSERT INTO `config_info` VALUES (6, 'muyu-gen-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.gen.domain\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip\n\n# 代码生成\ngen:\n # 作者\n author: DongZeLiang\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: com.muyu.product\n # 自动去除表前缀默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '2eb9f41bee0332235f3baca38e603abb', '2020-11-20 00:00:00', '2024-02-27 03:00:52', 'nacos', '150.158.86.96', '', '', '代码生成', 'null', 'null', 'yaml', '', '');
INSERT INTO `config_info` VALUES (7, 'muyu-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.job.domain\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip\n', 'edcf0e3fe13fea07b4ec08b1088f30b3', '2020-11-20 00:00:00', '2022-09-29 02:50:50', 'nacos', '0:0:0:0:0:0:0:1', '', '', '定时任务', 'null', 'null', 'yaml', '', ''); INSERT INTO `config_info` VALUES (7, 'muyu-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.job.domain\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip\n', 'edcf0e3fe13fea07b4ec08b1088f30b3', '2020-11-20 00:00:00', '2022-09-29 02:50:50', 'nacos', '0:0:0:0:0:0:0:1', '', '', '定时任务', 'null', 'null', 'yaml', '', '');
INSERT INTO `config_info` VALUES (8, 'muyu-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/muyu/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', '5382b93f3d8059d6068c0501fdd41195', '2020-11-20 00:00:00', '2020-12-21 21:01:59', NULL, '0:0:0:0:0:0:0:1', '', '', '文件服务', 'null', 'null', 'yaml', NULL, ''); INSERT INTO `config_info` VALUES (8, 'muyu-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \r\nfile:\r\n domain: http://150.158.86.96:9300\r\n path: D:/muyu/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', '5382b93f3d8059d6068c0501fdd41195', '2020-11-20 00:00:00', '2020-12-21 21:01:59', NULL, '0:0:0:0:0:0:0:1', '', '', '文件服务', 'null', 'null', 'yaml', NULL, '');
INSERT INTO `config_info` VALUES (9, 'sentinel-muyu-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"muyu-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"muyu-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"muyu-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"muyu-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', '9f3a3069261598f74220bc47958ec252', '2020-11-20 00:00:00', '2020-11-20 00:00:00', NULL, '0:0:0:0:0:0:0:1', '', '', '限流策略', 'null', 'null', 'json', NULL, ''); INSERT INTO `config_info` VALUES (9, 'sentinel-muyu-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"muyu-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"muyu-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"muyu-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"muyu-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', '9f3a3069261598f74220bc47958ec252', '2020-11-20 00:00:00', '2020-11-20 00:00:00', NULL, '0:0:0:0:0:0:0:1', '', '', '限流策略', 'null', 'null', 'json', NULL, '');
INSERT INTO `config_info` VALUES (10, 'muyu-product-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/product?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.product\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip', '644efaa3b18b043cb536b40f0eb2b6bf', '2024-02-26 08:13:17', '2024-02-26 08:13:46', 'nacos', '127.0.0.1', '', '', '系统模块', '', '', 'yaml', '', NULL); INSERT INTO `config_info` VALUES (10, 'muyu-product-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/product?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.product\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip', '644efaa3b18b043cb536b40f0eb2b6bf', '2024-02-26 08:13:17', '2024-02-26 08:13:46', 'nacos', '150.158.86.96', '', '', '系统模块', '', '', 'yaml', '', NULL);
INSERT INTO `config_info` VALUES (11, 'muyu-shop-cart-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/shop_cart?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.shop.cart\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip', '13a3eadf2d1484790b582fcf76192c1f', '2024-03-29 03:50:12', '2024-03-29 03:51:28', 'nacos', '127.0.0.1', '', '', '系统模块', '', '', 'yaml', '', NULL); INSERT INTO `config_info` VALUES (11, 'muyu-shop-cart-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/shop_cart?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: root\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: com.muyu.shop.cart\n # 配置mapper的扫描找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By muyu\n licenseUrl: https://muyu.vip', '13a3eadf2d1484790b582fcf76192c1f', '2024-03-29 03:50:12', '2024-03-29 03:51:28', 'nacos', '150.158.86.96', '', '', '系统模块', '', '', 'yaml', '', NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for config_info_aggr -- Table structure for config_info_aggr

View File

@ -4,7 +4,7 @@
Source Server : 5.7 Source Server : 5.7
Source Server Type : MySQL Source Server Type : MySQL
Source Server Version : 50737 Source Server Version : 50737
Source Host : 127.0.0.1:3306 Source Host : 150.158.86.96:3306
Source Schema : shop_cart Source Schema : shop_cart
Target Server Type : MySQL Target Server Type : MySQL