From e22a86ba7cf514fff9a7f3f124fdb2b1f5a9b23e Mon Sep 17 00:00:00 2001 From: ASUS <1621302159@qq.com> Date: Sun, 17 Dec 2023 11:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Elist=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/encodings.xml | 6 + .idea/misc.xml | 1 - .idea/uiDesigner.xml | 124 ++++++++++++++++++ bwie-models/bwie-shopList/pom.xml | 66 ++++++++++ .../main/java/com/bwie/ListApplication.java | 11 ++ .../src/main/resources/bootstrap.yml | 29 ++++ .../main/resources/mapper/SysUserMapper.xml | 6 + bwie-models/pom.xml | 4 + 8 files changed, 246 insertions(+), 1 deletion(-) create mode 100644 .idea/uiDesigner.xml create mode 100644 bwie-models/bwie-shopList/pom.xml create mode 100644 bwie-models/bwie-shopList/src/main/java/com/bwie/ListApplication.java create mode 100644 bwie-models/bwie-shopList/src/main/resources/bootstrap.yml create mode 100644 bwie-models/bwie-shopList/src/main/resources/mapper/SysUserMapper.xml 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