diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5ff6309..0000000 --- a/.gitignore +++ /dev/null @@ -1,38 +0,0 @@ -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/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..1af7be6 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..5a2f139 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bwie-auth/target/classes/bootstrap.yml b/bwie-auth/target/classes/bootstrap.yml new file mode 100644 index 0000000..770cce2 --- /dev/null +++ b/bwie-auth/target/classes/bootstrap.yml @@ -0,0 +1,31 @@ +# Tomcat +server: + port: 9001 +# Spring +spring: + main: + allow-circular-references: true + allow-bean-definition-overriding: true + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + application: + # 应用名称 + name: bwie-auth + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 124.221.177.197:8848 + config: + # 配置中心地址 + server-addr: 124.221.177.197:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + diff --git a/bwie-auth/target/classes/com/bwie/auth/AuthApp.class b/bwie-auth/target/classes/com/bwie/auth/AuthApp.class new file mode 100644 index 0000000..1969bb2 Binary files /dev/null and b/bwie-auth/target/classes/com/bwie/auth/AuthApp.class differ diff --git a/bwie-auth/target/classes/com/bwie/auth/controller/AuthController.class b/bwie-auth/target/classes/com/bwie/auth/controller/AuthController.class new file mode 100644 index 0000000..aafc1cc Binary files /dev/null and b/bwie-auth/target/classes/com/bwie/auth/controller/AuthController.class differ diff --git a/bwie-auth/target/classes/com/bwie/auth/feign/AuthFeign.class b/bwie-auth/target/classes/com/bwie/auth/feign/AuthFeign.class new file mode 100644 index 0000000..a8af767 Binary files /dev/null and b/bwie-auth/target/classes/com/bwie/auth/feign/AuthFeign.class differ diff --git a/bwie-auth/target/classes/com/bwie/auth/service/AuthService.class b/bwie-auth/target/classes/com/bwie/auth/service/AuthService.class new file mode 100644 index 0000000..6f466a2 Binary files /dev/null and b/bwie-auth/target/classes/com/bwie/auth/service/AuthService.class differ diff --git a/bwie-auth/target/classes/com/bwie/auth/service/impl/AuthServiceImpl.class b/bwie-auth/target/classes/com/bwie/auth/service/impl/AuthServiceImpl.class new file mode 100644 index 0000000..915dddc Binary files /dev/null and b/bwie-auth/target/classes/com/bwie/auth/service/impl/AuthServiceImpl.class differ diff --git a/bwie-common/target/classes/com/bwie/common/constants/Constants.class b/bwie-common/target/classes/com/bwie/common/constants/Constants.class new file mode 100644 index 0000000..ca526b6 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/constants/Constants.class differ diff --git a/bwie-common/target/classes/com/bwie/common/constants/JwtConstants.class b/bwie-common/target/classes/com/bwie/common/constants/JwtConstants.class new file mode 100644 index 0000000..452b534 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/constants/JwtConstants.class differ diff --git a/bwie-common/target/classes/com/bwie/common/constants/RabbitMQConstants.class b/bwie-common/target/classes/com/bwie/common/constants/RabbitMQConstants.class new file mode 100644 index 0000000..298cddc Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/constants/RabbitMQConstants.class differ diff --git a/bwie-common/target/classes/com/bwie/common/constants/TokenConstants.class b/bwie-common/target/classes/com/bwie/common/constants/TokenConstants.class new file mode 100644 index 0000000..684ace3 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/constants/TokenConstants.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/Goods.class b/bwie-common/target/classes/com/bwie/common/domain/Goods.class new file mode 100644 index 0000000..608de28 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/Goods.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/Opp.class b/bwie-common/target/classes/com/bwie/common/domain/Opp.class new file mode 100644 index 0000000..2d0e55a Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/Opp.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/SysUser.class b/bwie-common/target/classes/com/bwie/common/domain/SysUser.class new file mode 100644 index 0000000..ba702d6 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/SysUser.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/Type.class b/bwie-common/target/classes/com/bwie/common/domain/Type.class new file mode 100644 index 0000000..87c47c5 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/Type.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/request/GoodsRequest.class b/bwie-common/target/classes/com/bwie/common/domain/request/GoodsRequest.class new file mode 100644 index 0000000..667e07e Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/request/GoodsRequest.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/request/LoginRequest.class b/bwie-common/target/classes/com/bwie/common/domain/request/LoginRequest.class new file mode 100644 index 0000000..f46906f Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/request/LoginRequest.class differ diff --git a/bwie-common/target/classes/com/bwie/common/domain/response/JwtResponse.class b/bwie-common/target/classes/com/bwie/common/domain/response/JwtResponse.class new file mode 100644 index 0000000..8fad6c7 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/domain/response/JwtResponse.class differ diff --git a/bwie-common/target/classes/com/bwie/common/result/PageResult.class b/bwie-common/target/classes/com/bwie/common/result/PageResult.class new file mode 100644 index 0000000..29e9687 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/result/PageResult.class differ diff --git a/bwie-common/target/classes/com/bwie/common/result/Result.class b/bwie-common/target/classes/com/bwie/common/result/Result.class new file mode 100644 index 0000000..39ab3df Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/result/Result.class differ diff --git a/bwie-common/target/classes/com/bwie/common/utils/JwtUtils.class b/bwie-common/target/classes/com/bwie/common/utils/JwtUtils.class new file mode 100644 index 0000000..bb09882 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/utils/JwtUtils.class differ diff --git a/bwie-common/target/classes/com/bwie/common/utils/StringUtils.class b/bwie-common/target/classes/com/bwie/common/utils/StringUtils.class new file mode 100644 index 0000000..c7aabd6 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/utils/StringUtils.class differ diff --git a/bwie-common/target/classes/com/bwie/common/utils/TelSmsUtils.class b/bwie-common/target/classes/com/bwie/common/utils/TelSmsUtils.class new file mode 100644 index 0000000..0355ea2 Binary files /dev/null and b/bwie-common/target/classes/com/bwie/common/utils/TelSmsUtils.class differ diff --git a/bwie-gateway/target/classes/bootstrap.yml b/bwie-gateway/target/classes/bootstrap.yml new file mode 100644 index 0000000..231e2a0 --- /dev/null +++ b/bwie-gateway/target/classes/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 18080 +# Spring +spring: + application: + # 应用名称 + name: bwie-gateway + profiles: + # 环境配置 + active: dev + main: + # 允许使用循环引用 + allow-circular-references: true + # 允许定义相同的bean对象 去覆盖原有的 + allow-bean-definition-overriding: true + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 124.221.177.197:8848 + config: + # 配置中心地址 + server-addr: 124.221.177.197:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bwie-gateway/target/classes/com/bwie/gateway/GatewayApp.class b/bwie-gateway/target/classes/com/bwie/gateway/GatewayApp.class new file mode 100644 index 0000000..47ed25b Binary files /dev/null and b/bwie-gateway/target/classes/com/bwie/gateway/GatewayApp.class differ diff --git a/bwie-gateway/target/classes/com/bwie/gateway/config/IgnoreWhiteConfig.class b/bwie-gateway/target/classes/com/bwie/gateway/config/IgnoreWhiteConfig.class new file mode 100644 index 0000000..a84d020 Binary files /dev/null and b/bwie-gateway/target/classes/com/bwie/gateway/config/IgnoreWhiteConfig.class differ diff --git a/bwie-gateway/target/classes/com/bwie/gateway/filters/AuthFilter.class b/bwie-gateway/target/classes/com/bwie/gateway/filters/AuthFilter.class new file mode 100644 index 0000000..8eb8c4c Binary files /dev/null and b/bwie-gateway/target/classes/com/bwie/gateway/filters/AuthFilter.class differ diff --git a/bwie-gateway/target/classes/com/bwie/gateway/utils/GatewayUtils.class b/bwie-gateway/target/classes/com/bwie/gateway/utils/GatewayUtils.class new file mode 100644 index 0000000..ab7f2c5 Binary files /dev/null and b/bwie-gateway/target/classes/com/bwie/gateway/utils/GatewayUtils.class differ diff --git a/bwie-modules/bwie-goods/target/classes/bootstrap.yml b/bwie-modules/bwie-goods/target/classes/bootstrap.yml new file mode 100644 index 0000000..21f45af --- /dev/null +++ b/bwie-modules/bwie-goods/target/classes/bootstrap.yml @@ -0,0 +1,30 @@ +# Tomcat +server: + port: 9003 +# Spring +spring: + main: + allow-circular-references: true + allow-bean-definition-overriding: true + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + application: + # 应用名称 + name: bwie-goods + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 124.221.177.197:8848 + config: + # 配置中心地址 + server-addr: 124.221.177.197:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bwie-modules/bwie-goods/target/classes/com/bwie/goods/GoodsApp.class b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/GoodsApp.class new file mode 100644 index 0000000..03b6a26 Binary files /dev/null and b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/GoodsApp.class differ diff --git a/bwie-modules/bwie-goods/target/classes/com/bwie/goods/controller/GoodsController.class b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/controller/GoodsController.class new file mode 100644 index 0000000..2246d6b Binary files /dev/null and b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/controller/GoodsController.class differ diff --git a/bwie-modules/bwie-goods/target/classes/com/bwie/goods/feign/GoodsFeign.class b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/feign/GoodsFeign.class new file mode 100644 index 0000000..d74d3dc Binary files /dev/null and b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/feign/GoodsFeign.class differ diff --git a/bwie-modules/bwie-goods/target/classes/com/bwie/goods/mapper/GoodsMapper.class b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/mapper/GoodsMapper.class new file mode 100644 index 0000000..efa3585 Binary files /dev/null and b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/mapper/GoodsMapper.class differ diff --git a/bwie-modules/bwie-goods/target/classes/com/bwie/goods/service/GoodsService.class b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/service/GoodsService.class new file mode 100644 index 0000000..d48279e Binary files /dev/null and b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/service/GoodsService.class differ diff --git a/bwie-modules/bwie-goods/target/classes/com/bwie/goods/service/impl/GoodsServiceImpl.class b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/service/impl/GoodsServiceImpl.class new file mode 100644 index 0000000..2088c8d Binary files /dev/null and b/bwie-modules/bwie-goods/target/classes/com/bwie/goods/service/impl/GoodsServiceImpl.class differ diff --git a/bwie-modules/bwie-goods/target/classes/mapper/GoodsMapper.xml b/bwie-modules/bwie-goods/target/classes/mapper/GoodsMapper.xml new file mode 100644 index 0000000..844dfb2 --- /dev/null +++ b/bwie-modules/bwie-goods/target/classes/mapper/GoodsMapper.xml @@ -0,0 +1,26 @@ + + + + + insert into opp (`opp_status`,`user_id`) + values (1,#{userId}) + + + + + + \ No newline at end of file diff --git a/bwie-modules/bwie-opp/target/classes/bootstrap.yml b/bwie-modules/bwie-opp/target/classes/bootstrap.yml new file mode 100644 index 0000000..18e129c --- /dev/null +++ b/bwie-modules/bwie-opp/target/classes/bootstrap.yml @@ -0,0 +1,30 @@ +# Tomcat +server: + port: 9004 +# Spring +spring: + main: + allow-circular-references: true + allow-bean-definition-overriding: true + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + application: + # 应用名称 + name: bwie-opp + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 124.221.177.197:8848 + config: + # 配置中心地址 + server-addr: 124.221.177.197:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/OppApp.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/OppApp.class new file mode 100644 index 0000000..eb44f9f Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/OppApp.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/controller/OppController.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/controller/OppController.class new file mode 100644 index 0000000..feb067b Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/controller/OppController.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/mapper/OppMapper.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/mapper/OppMapper.class new file mode 100644 index 0000000..8f21cef Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/mapper/OppMapper.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/service/OppService.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/service/OppService.class new file mode 100644 index 0000000..621d0e1 Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/service/OppService.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/service/impl/OppServiceImpl.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/service/impl/OppServiceImpl.class new file mode 100644 index 0000000..1e6562e Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/service/impl/OppServiceImpl.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/HttpUtils$1.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/HttpUtils$1.class new file mode 100644 index 0000000..f52c782 Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/HttpUtils$1.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/HttpUtils.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/HttpUtils.class new file mode 100644 index 0000000..84560b2 Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/HttpUtils.class differ diff --git a/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/MsgUtil.class b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/MsgUtil.class new file mode 100644 index 0000000..d099f08 Binary files /dev/null and b/bwie-modules/bwie-opp/target/classes/com/bwie/opp/util/MsgUtil.class differ diff --git a/bwie-modules/bwie-opp/target/classes/mapper/OppMapper.xml b/bwie-modules/bwie-opp/target/classes/mapper/OppMapper.xml new file mode 100644 index 0000000..d6d8e56 --- /dev/null +++ b/bwie-modules/bwie-opp/target/classes/mapper/OppMapper.xml @@ -0,0 +1,24 @@ + + + + + update user set user_money=user_money-30 where user_id=#{userId} + + + update opp set opp_status=2 where user_id =#{userId} + + + update user set user_money=user_money+30 where user_id=#{userId} + + + update opp set opp_status=3 where user_id =#{userId} + + + update opp set opp_status=4 where user_id =#{userId} + + + + \ No newline at end of file diff --git a/bwie-modules/bwie-system/target/classes/bootstrap.yml b/bwie-modules/bwie-system/target/classes/bootstrap.yml new file mode 100644 index 0000000..51939cf --- /dev/null +++ b/bwie-modules/bwie-system/target/classes/bootstrap.yml @@ -0,0 +1,30 @@ +# Tomcat +server: + port: 9002 +# Spring +spring: + main: + allow-circular-references: true + allow-bean-definition-overriding: true + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + application: + # 应用名称 + name: bwie-system + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 124.221.177.197:8848 + config: + # 配置中心地址 + server-addr: 124.221.177.197:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bwie-modules/bwie-system/target/classes/com/bwie/system/SysApp.class b/bwie-modules/bwie-system/target/classes/com/bwie/system/SysApp.class new file mode 100644 index 0000000..4518eb8 Binary files /dev/null and b/bwie-modules/bwie-system/target/classes/com/bwie/system/SysApp.class differ diff --git a/bwie-modules/bwie-system/target/classes/com/bwie/system/controller/SysController.class b/bwie-modules/bwie-system/target/classes/com/bwie/system/controller/SysController.class new file mode 100644 index 0000000..e3e27f2 Binary files /dev/null and b/bwie-modules/bwie-system/target/classes/com/bwie/system/controller/SysController.class differ diff --git a/bwie-modules/bwie-system/target/classes/com/bwie/system/mapper/SysMapper.class b/bwie-modules/bwie-system/target/classes/com/bwie/system/mapper/SysMapper.class new file mode 100644 index 0000000..ea4460e Binary files /dev/null and b/bwie-modules/bwie-system/target/classes/com/bwie/system/mapper/SysMapper.class differ diff --git a/bwie-modules/bwie-system/target/classes/com/bwie/system/service/SysService.class b/bwie-modules/bwie-system/target/classes/com/bwie/system/service/SysService.class new file mode 100644 index 0000000..5099da8 Binary files /dev/null and b/bwie-modules/bwie-system/target/classes/com/bwie/system/service/SysService.class differ diff --git a/bwie-modules/bwie-system/target/classes/com/bwie/system/service/impl/SysServiceImpl.class b/bwie-modules/bwie-system/target/classes/com/bwie/system/service/impl/SysServiceImpl.class new file mode 100644 index 0000000..e93551a Binary files /dev/null and b/bwie-modules/bwie-system/target/classes/com/bwie/system/service/impl/SysServiceImpl.class differ diff --git a/bwie-modules/bwie-system/target/classes/mapper/SysMapper.xml b/bwie-modules/bwie-system/target/classes/mapper/SysMapper.xml new file mode 100644 index 0000000..ba0a82c --- /dev/null +++ b/bwie-modules/bwie-system/target/classes/mapper/SysMapper.xml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file