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 originPrice;
private Long price; private Long price;
private Integer sales; private Integer sales;
private String picUrl;
private String picUrls; private String picUrls;
private String unit; private String unit;
private String description; private String description;

View File

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

View File

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

View File

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

View File

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