From 50031f2b4ebc466f41edc18ecb9156aff375014b Mon Sep 17 00:00:00 2001 From: LQS <2506203757@qq.com> Date: Thu, 1 Aug 2024 10:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 38 +++++++ .idea/.gitignore | 8 ++ .idea/encodings.xml | 12 ++ .idea/misc.xml | 14 +++ bwie-auth/pom.xml | 20 ++++ bwie-gateway/pom.xml | 20 ++++ bwie-modules/bwie-system/pom.xml | 20 ++++ .../src/main/resources/properties.yml | 8 ++ bwie-modules/pom.xml | 24 ++++ pom.xml | 103 ++++++++++++++++++ sql/users.sql | 38 +++++++ 11 files changed, 305 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 bwie-auth/pom.xml create mode 100644 bwie-gateway/pom.xml create mode 100644 bwie-modules/bwie-system/pom.xml create mode 100644 bwie-modules/bwie-system/src/main/resources/properties.yml create mode 100644 bwie-modules/pom.xml create mode 100644 pom.xml create mode 100644 sql/users.sql diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..52897ad --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..82dbec8 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/bwie-auth/pom.xml b/bwie-auth/pom.xml new file mode 100644 index 0000000..83e2e77 --- /dev/null +++ b/bwie-auth/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.icecream + springboot_springCould-mybisplus + 1.0-SNAPSHOT + + + bwie-auth + + + 17 + 17 + UTF-8 + + + diff --git a/bwie-gateway/pom.xml b/bwie-gateway/pom.xml new file mode 100644 index 0000000..d3f224f --- /dev/null +++ b/bwie-gateway/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.icecream + springboot_springCould-mybisplus + 1.0-SNAPSHOT + + + bwie-gateway + + + 17 + 17 + UTF-8 + + + diff --git a/bwie-modules/bwie-system/pom.xml b/bwie-modules/bwie-system/pom.xml new file mode 100644 index 0000000..e481635 --- /dev/null +++ b/bwie-modules/bwie-system/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.icecream + bwie-modules + 1.0-SNAPSHOT + + + bwie-system + + + 17 + 17 + UTF-8 + + + diff --git a/bwie-modules/bwie-system/src/main/resources/properties.yml b/bwie-modules/bwie-system/src/main/resources/properties.yml new file mode 100644 index 0000000..85b38f5 --- /dev/null +++ b/bwie-modules/bwie-system/src/main/resources/properties.yml @@ -0,0 +1,8 @@ +spring.datasource.url=jdbc:mysql://localhost:3306/yourdatabase +spring.datasource.username=root +spring.datasource.password=password +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver + +mybatis-plus.mapper-locations=classpath:/mappers/**/*.xml +mybatis-plus.type-aliases-package=com.example.demo.entity +mybatis-plus.global-config.db-config.id-type=auto diff --git a/bwie-modules/pom.xml b/bwie-modules/pom.xml new file mode 100644 index 0000000..0075c7b --- /dev/null +++ b/bwie-modules/pom.xml @@ -0,0 +1,24 @@ + + + 4.0.0 + + com.icecream + springboot_springCould-mybisplus + 1.0-SNAPSHOT + + + bwie-modules + pom + + bwie-system + + + + 17 + 17 + UTF-8 + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..734e78b --- /dev/null +++ b/pom.xml @@ -0,0 +1,103 @@ + + + 4.0.0 + + com.icecream + springboot_springCould-mybisplus + 1.0-SNAPSHOT + pom + + bwie-auth + bwie-gateway + bwie-modules + + + + 8 + 8 + UTF-8 + 2021.0.0 + 2021.1 + 0.9.1 + 1.2.80 + 5.8.3 + 2.0.1 + + + + spring-boot-starter-parent + org.springframework.boot + 2.6.2 + + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + com.alibaba.cloud + spring-cloud-alibaba-dependencies + ${spring-cloud-alibaba.version} + pom + import + + + + io.jsonwebtoken + jjwt + ${jjwt.version} + + + + com.alibaba + fastjson + ${fastjson.version} + + + + cn.hutool + hutool-all + ${hutool.version} + + + + com.aliyun + dysmsapi20170525 + ${alidy.version} + + + + com.alibaba + druid-spring-boot-starter + 1.2.8 + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 2.2.2 + + + + com.github.pagehelper + pagehelper-spring-boot-starter + 1.4.1 + + + + com.icecream + bwie-common + 1.0-SNAPSHOT + + + + + diff --git a/sql/users.sql b/sql/users.sql new file mode 100644 index 0000000..d0b2d31 --- /dev/null +++ b/sql/users.sql @@ -0,0 +1,38 @@ +/* + Navicat Premium Data Transfer + + Source Server : lqs13306 + Source Server Type : MySQL + Source Server Version : 80027 + Source Host : 49.235.113.103:13306 + Source Schema : zgl-zhuokao-2-7-30 + + Target Server Type : MySQL + Target Server Version : 80027 + File Encoding : 65001 + + Date: 01/08/2024 09:13:22 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for users +-- ---------------------------- +DROP TABLE IF EXISTS `users`; +CREATE TABLE `users` ( + `id` bigint NOT NULL AUTO_INCREMENT, + `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, + `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, + `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE, + UNIQUE INDEX `username_unique`(`username` ASC) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of users +-- ---------------------------- +INSERT INTO `users` VALUES (1, '1', '1', '1'); + +SET FOREIGN_KEY_CHECKS = 1;