2
0

feat: rename directory wfc-modules-user to wfc-user

This commit is contained in:
zhangsz
2024-12-30 10:03:24 +08:00
parent b79f2a441a
commit dd0404b6a6
151 changed files with 26 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ org.wfc
│ └── wfc-common-swagger // 系统接口 │ └── wfc-common-swagger // 系统接口
├── wfc-modules // 业务模块 ├── wfc-modules // 业务模块
│ └── wfc-system // 系统模块 [9201] │ └── wfc-system // 系统模块 [9201]
│ └── wfc-modules-user // 用户平台模块 [9208] │ └── wfc-user // 用户平台模块 [9208]
│ └── wfc-gen // 代码生成 [9202] │ └── wfc-gen // 代码生成 [9202]
│ └── wfc-job // 定时任务 [9203] │ └── wfc-job // 定时任务 [9203]
│ └── wfc-file // 文件服务 [9300] │ └── wfc-file // 文件服务 [9300]

View File

@@ -27,7 +27,7 @@ echo begin copy wfc-modules-system
copy ..\wfc-modules\wfc-system\target\wfc-modules-system.jar .\wfc\modules\system\jar copy ..\wfc-modules\wfc-system\target\wfc-modules-system.jar .\wfc\modules\system\jar
echo begin copy wfc-modules-user echo begin copy wfc-modules-user
copy ..\wfc-modules\wfc-modules-user\target\wfc-modules-user.jar .\wfc\modules\user\jar copy ..\wfc-modules\wfc-user\target\wfc-modules-user.jar .\wfc\modules\user\jar
echo begin copy wfc-modules-file echo begin copy wfc-modules-file
copy ..\wfc-modules\wfc-file\target\wfc-modules-file.jar .\wfc\modules\file\jar copy ..\wfc-modules\wfc-file\target\wfc-modules-file.jar .\wfc\modules\file\jar

View File

@@ -39,7 +39,7 @@ echo "begin copy wfc-modules-system "
cp ../wfc-modules/wfc-system/target/wfc-modules-system.jar ./wfc/modules/system/jar cp ../wfc-modules/wfc-system/target/wfc-modules-system.jar ./wfc/modules/system/jar
echo "begin copy wfc-modules-user " echo "begin copy wfc-modules-user "
cp ../wfc-modules/wfc-modules-user/target/wfc-modules-user.jar ./wfc/modules/user/jar cp ../wfc-modules/wfc-user/target/wfc-modules-user.jar ./wfc/modules/user/jar
echo "begin copy wfc-modules-file " echo "begin copy wfc-modules-file "
cp ../wfc-modules/wfc-file/target/wfc-modules-file.jar ./wfc/modules/file/jar cp ../wfc-modules/wfc-file/target/wfc-modules-file.jar ./wfc/modules/file/jar

View File

@@ -26,5 +26,5 @@ public class ServiceNameConstants
/** /**
* 用户平台模块的 service_id * 用户平台模块的 service_id
*/ */
public static final String USER_SERVICE = "wfc-modules-user"; public static final String USER_SERVICE = "wfc-user";
} }

View File

@@ -49,10 +49,17 @@ spring:
filters: filters:
- StripPrefix=1 - StripPrefix=1
# 用户平台模块 # 用户平台模块
- id: wfc-modules-user - id: wfc-ser
uri: lb://wfc-modules-user uri: lb://wfc-user
predicates: predicates:
- Path=/u/** - Path=/u/**
filters:
- StripPrefix=1
# payment module
- id: wfc-payment
uri: lb://wfc-payment
predicates:
- Path=/payment/**
filters: filters:
- StripPrefix=1 - StripPrefix=1

View File

@@ -13,7 +13,7 @@
<module>wfc-gen</module> <module>wfc-gen</module>
<module>wfc-job</module> <module>wfc-job</module>
<module>wfc-file</module> <module>wfc-file</module>
<module>wfc-modules-user</module> <module>wfc-user</module>
<module>wfc-payment</module> <module>wfc-payment</module>
</modules> </modules>

View File

@@ -77,7 +77,7 @@ logging:
github: github:
binarywang: debug binarywang: debug
file: file:
name: /home/wfc/logs/wfc-payment.log name: /opt/wfc/logs/wfc-payment.log
wxpay: wxpay:
appId: 121412414112 appId: 121412414112
@@ -85,5 +85,5 @@ wxpay:
mchKey: 1525342aa mchKey: 1525342aa
subAppId: #服务商模式下的子商户公众账号ID subAppId: #服务商模式下的子商户公众账号ID
subMchId: #服务商模式下的子商户号 subMchId: #服务商模式下的子商户号
keyPath: /home/wfc/config/payment/wxpay_key.pem keyPath: /opt/wfc/config/payment/wxpay_key.pem
useSandboxEnv: false useSandboxEnv: false

View File

@@ -1,6 +1,6 @@
# Tomcat # Tomcat
server: server:
port: 9401 port: ${WFC_PAYMENT_PORT:9204}
# Spring # Spring
spring: spring:
@@ -14,11 +14,11 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: ${NACOS_SERVER_ADDR} server-addr: wfc-nacos:${NACOS_SERVER_PORT}
namespace: ${NACOS_NAME_SPACE} namespace: ${NACOS_NAME_SPACE}
config: config:
# 配置中心地址 # 配置中心地址
server-addr: ${NACOS_SERVER_ADDR} server-addr: wfc-nacos:${NACOS_SERVER_PORT}
namespace: ${NACOS_NAME_SPACE} namespace: ${NACOS_NAME_SPACE}
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml

View File

@@ -1,6 +1,6 @@
# Tomcat # Tomcat
server: server:
port: 9201 port: ${WFC_SYSTEM_PORT:9205}
# Spring # Spring
spring: spring:
@@ -14,11 +14,11 @@ spring:
nacos: nacos:
discovery: discovery:
# 服务注册地址 # 服务注册地址
server-addr: ${NACOS_SERVER_ADDR} server-addr: wfc-nacos:${NACOS_SERVER_PORT}
namespace: ${NACOS_NAME_SPACE} namespace: ${NACOS_NAME_SPACE}
config: config:
# 配置中心地址 # 配置中心地址
server-addr: ${NACOS_SERVER_ADDR} server-addr: wfc-nacos:${NACOS_SERVER_PORT}
namespace: ${NACOS_NAME_SPACE} namespace: ${NACOS_NAME_SPACE}
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml

Some files were not shown because too many files have changed in this diff Show More