提交 cac144cc 编写于 作者: Q qinyingjie

fix:添加2个模块

上级 00a53ded
......@@ -26,6 +26,7 @@
<modules>
<module>springcloud-service-goods</module>
<module>springcloud-service-common</module>
</modules>
<dependencyManagement>
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>springcloud-service-parent</artifactId>
<groupId>com.kwan.springcloud</groupId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>springcloud-service-common</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<!--简化代码的工具包-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.kwan.springcloud;
import java.io.Serializable;
package com.kwan.springcloud.response;
import com.kwan.springcloud.constant.CommonConstant;
import lombok.Data;
import java.io.Serializable;
/**
* 接口返回数据格式
*
......
......@@ -11,6 +11,12 @@
<version>0.0.1-SNAPSHOT</version>
<name>springcloud-service-goods</name>
<dependencies>
<dependency>
<groupId>com.kwan.springcloud</groupId>
<artifactId>springcloud-service-common</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
......@@ -40,11 +46,6 @@
<artifactId>mybatis-plus-extension</artifactId>
<version>3.5.2</version>
</dependency>
<!--简化代码的工具包-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!--热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
......@@ -52,6 +53,7 @@
<optional>true</optional>
</dependency>
</dependencies>
<build>
......
......@@ -3,8 +3,8 @@ package com.kwan.springcloud.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kwan.springcloud.Result;
import com.kwan.springcloud.entity.KwanGoodsInfo;
import com.kwan.springcloud.response.Result;
import com.kwan.springcloud.service.KwanGoodsInfoService;
import org.springframework.web.bind.annotation.*;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册