feat:广告、商品、用户模块发布配置

This commit is contained in:
haoxr 2021-01-02 22:03:37 +08:00
parent 85155bc20c
commit cba5db2fb0
5 changed files with 12 additions and 3 deletions

View File

@ -29,6 +29,7 @@ public class PmsSpu extends BaseEntity {
private Long originPrice;
private Long price;
private Integer sales;
private String picUrl;
private String picUrls;
private String unit;
private String description;

View File

@ -14,6 +14,7 @@ public class SpuDTO {
private Long originPrice;
private Long price;
private Integer sales;
private String picUrl;
private List<String> picUrls;
private String unit;
private String description;

View File

@ -12,6 +12,13 @@
<artifactId>sms-api</artifactId>
<dependencies>
<dependency>
<groupId>com.youlai</groupId>
<artifactId>common-knife4j</artifactId>
<version>${youlai.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>

View File

@ -105,13 +105,13 @@
<version>1.0.0</version>
<executions>
<!--执行mvn package,即执行 mvn clean package docker:build-->
<!-- <execution>
<execution>
<id>build-image</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>-->
</execution>
</executions>
<configuration>

View File

@ -19,7 +19,7 @@ public class Result<T> implements Serializable {
private String msg;
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
@JsonInclude(JsonInclude.Include.NON_NULL)
private long total;
public static <T> Result<T> success() {