diff --git a/.idea/encodings.xml b/.idea/encodings.xml index bb4e79a..c9ec766 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -2,10 +2,16 @@ + + + + + + diff --git a/.idea/misc.xml b/.idea/misc.xml index 132404b..6f5230a 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bwie-models/bwie-shopList/pom.xml b/bwie-models/bwie-shopList/pom.xml new file mode 100644 index 0000000..5074c1c --- /dev/null +++ b/bwie-models/bwie-shopList/pom.xml @@ -0,0 +1,66 @@ + + + 4.0.0 + + com.bwie + bwie-models + 1.0-SNAPSHOT + + + bwie-shopList + + + 8 + 8 + UTF-8 + + + + + + com.bwie + bwie-common + + + + org.springframework.boot + spring-boot-starter-web + + + + com.alibaba + druid-spring-boot-starter + 1.2.8 + + + + mysql + mysql-connector-java + + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 2.2.2 + + + + com.github.pagehelper + pagehelper-spring-boot-starter + 1.4.1 + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + + \ No newline at end of file diff --git a/bwie-models/bwie-shopList/src/main/java/com/bwie/ListApplication.java b/bwie-models/bwie-shopList/src/main/java/com/bwie/ListApplication.java new file mode 100644 index 0000000..578c300 --- /dev/null +++ b/bwie-models/bwie-shopList/src/main/java/com/bwie/ListApplication.java @@ -0,0 +1,11 @@ +package com.bwie; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ListApplication { + public static void main(String[] args) { + SpringApplication.run(ListApplication.class); + } +} \ No newline at end of file diff --git a/bwie-models/bwie-shopList/src/main/resources/bootstrap.yml b/bwie-models/bwie-shopList/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..178924b --- /dev/null +++ b/bwie-models/bwie-shopList/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 9002 +# Spring +spring: + main: + allow-circular-references: true + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + application: + # 应用名称 + name: bwie-list + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 82.157.236.130:8848 + config: + # 配置中心地址 + server-addr: 82.157.236.130:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bwie-models/bwie-shopList/src/main/resources/mapper/SysUserMapper.xml b/bwie-models/bwie-shopList/src/main/resources/mapper/SysUserMapper.xml new file mode 100644 index 0000000..d089973 --- /dev/null +++ b/bwie-models/bwie-shopList/src/main/resources/mapper/SysUserMapper.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/bwie-models/pom.xml b/bwie-models/pom.xml index 773a9c7..acf644b 100644 --- a/bwie-models/pom.xml +++ b/bwie-models/pom.xml @@ -10,6 +10,10 @@ bwie-models + pom + + bwie-shopList + 8