Skip to content

Commit

Permalink
Banner 的迁移
Browse files Browse the repository at this point in the history
商品推荐的迁移
  • Loading branch information
YunaiV committed Aug 25, 2020
1 parent f0999ea commit 709b85e
Show file tree
Hide file tree
Showing 25 changed files with 239 additions and 2,121 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ public class CustomSentryAutoConfiguration {
public SentryExceptionResolver doNothingExceptionResolver() {
return new DoNothingExceptionResolver();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public void configureMessageConverters(List<HttpMessageConverter<?>> converters)
// 自定义 FastJson 配置
FastJsonConfig fastJsonConfig = new FastJsonConfig();
fastJsonConfig.setCharset(Charset.defaultCharset()); // 设置字符集
fastJsonConfig.setSerializerFeatures(SerializerFeature.DisableCircularReferenceDetect); // 剔除循环引用
fastJsonConfig.setSerializerFeatures(SerializerFeature.DisableCircularReferenceDetect, // 剔除循环引用
SerializerFeature.WriteNonStringKeyAsString); // 解决 Integer 作为 Key 时,转换为 String 类型,避免浏览器报错
fastJsonHttpMessageConverter.setFastJsonConfig(fastJsonConfig);
// 设置支持的 MediaType
fastJsonHttpMessageConverter.setSupportedMediaTypes(Collections.singletonList(MediaType.APPLICATION_JSON));
Expand Down
554 changes: 0 additions & 554 deletions docs/sql/old/mall_admin.sql

This file was deleted.

347 changes: 0 additions & 347 deletions docs/sql/old/mall_product.sql

This file was deleted.

214 changes: 0 additions & 214 deletions docs/sql/old/mall_promotion.sql

This file was deleted.

683 changes: 0 additions & 683 deletions docs/sql/old/mall_user.sql

This file was deleted.

17 changes: 5 additions & 12 deletions management-web-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,13 @@
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <artifactId>nacos-client</artifactId>-->
<!-- <groupId>com.alibaba.nacos</groupId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
</dependency>

<!-- TODO 芋艿 解决 1.3.1 beta 的问题 -->
<!-- <dependency>-->
<!-- <groupId>com.alibaba.nacos</groupId>-->
<!-- <artifactId>nacos-client</artifactId>-->
<!-- <version>1.3.1</version>-->
<!-- </dependency>-->
<!-- 监控相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<!-- 工具类相关 -->
<dependency>
Expand Down
5 changes: 5 additions & 0 deletions management-web-app/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@ swagger:
description: 提供管理员管理的所有功能
version: 1.0.0
base-package: cn.iocoder.mall.managementweb.controller

# Actuator 监控配置项
management:
server.port: 38087 # 独立端口,避免被暴露出去
endpoints.web.exposure.include: '*' # 暴露所有监控端点
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@

import cn.iocoder.common.framework.enums.CommonStatusEnum;
import cn.iocoder.common.framework.validator.InEnum;
import cn.iocoder.common.framework.vo.PageParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* Banner 列表 Request DTO
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class BannerListReqDTO extends PageParam {
public class BannerListReqDTO implements Serializable {

/**
* 状态
Expand Down
39 changes: 0 additions & 39 deletions promotion/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 709b85e

Please sign in to comment.