项目构建
This commit is contained in:
19
demo-gateway/src/main/resources/application-devv.yml
Normal file
19
demo-gateway/src/main/resources/application-devv.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
spring:
|
||||
resources:
|
||||
static-locations: file:D://anrui
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:8848
|
||||
redis:
|
||||
database: 3 # Redis数据库索引(默认为0)
|
||||
host: 127.0.0.1
|
||||
jedis:
|
||||
pool:
|
||||
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
||||
max-idle: 8 #连接池中的最大空闲连接
|
||||
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
min-idle: 0 # 连接池中的最小空闲连接
|
||||
password: 123456
|
||||
port: 6379
|
||||
timeout: 0 # 连接超时时间(毫秒)
|
||||
19
demo-gateway/src/main/resources/application-pro.yml
Normal file
19
demo-gateway/src/main/resources/application-pro.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
spring:
|
||||
resources:
|
||||
static-locations: file:D://anrui
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:8848
|
||||
redis:
|
||||
database: 3 # Redis数据库索引(默认为0)
|
||||
host: 127.0.0.1
|
||||
jedis:
|
||||
pool:
|
||||
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
||||
max-idle: 8 #连接池中的最大空闲连接
|
||||
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
min-idle: 0 # 连接池中的最小空闲连接
|
||||
password: 123456
|
||||
port: 6379
|
||||
timeout: 0 # 连接超时时间(毫秒)
|
||||
19
demo-gateway/src/main/resources/application-test.yml
Normal file
19
demo-gateway/src/main/resources/application-test.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
spring:
|
||||
resources:
|
||||
static-locations: file:/home/lzh/docker_data/nginx/html/anrui-system-ui
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 172.18.0.5:8848
|
||||
redis:
|
||||
database: 3 # Redis数据库索引(默认为0)
|
||||
host: 172.18.0.7
|
||||
jedis:
|
||||
pool:
|
||||
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
||||
max-idle: 8 #连接池中的最大空闲连接
|
||||
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
min-idle: 0 # 连接池中的最小空闲连接
|
||||
password:
|
||||
port: 6379
|
||||
timeout: 0 # 连接超时时间(毫秒)
|
||||
91
demo-gateway/src/main/resources/application.yml
Normal file
91
demo-gateway/src/main/resources/application.yml
Normal file
@@ -0,0 +1,91 @@
|
||||
hystrix:
|
||||
command:
|
||||
default:
|
||||
execution:
|
||||
isolation:
|
||||
strategy: SEMAPHORE
|
||||
thread:
|
||||
timeoutInMilliseconds: 300000
|
||||
server:
|
||||
port: 8111
|
||||
spring:
|
||||
application:
|
||||
name: gateway-server
|
||||
profiles:
|
||||
active: devv
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
- id: demo-system
|
||||
predicates:
|
||||
- Path= /system/**
|
||||
uri: lb://demo-system
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
|
||||
ignore:
|
||||
whites:
|
||||
- /portal/v1/regions/treeList
|
||||
- /portal/v1/sysuser/reGetPwd #忘记密码
|
||||
- /portal/v1/sysuser/login #pc端登录
|
||||
-
|
||||
- /portal/v1/sysuser/loginByNoVeriCode #登录无验证码
|
||||
- /portal/v1/sysuser/signOut #pc 退出登录
|
||||
- /portal/v1/sysuser/save #pc端登录
|
||||
- /portal/v1/captcha/clickWord #验证码
|
||||
|
||||
- /portal/v1/appuser/login #app端登录
|
||||
- /portal/v1/appuser/sendVerificationCodeForApp #app端验证码
|
||||
- /portal/v1/appuser/checkResetPwdCode #app端验证找回密码的验证码
|
||||
- /portal/v1/appuser/resetPwd #app端重置密码(找回密码)
|
||||
- /portal/v1/appversion/save #更新app框架
|
||||
- /portal/v1/appsubsetversion/save #更新app子应用(新增)
|
||||
- /portal/v1/appsubsetversion/update #更新app子应用(更新)
|
||||
- /portal/v1/appversion/selectNewAppVersion #获取最新版本
|
||||
- /portal/v1/wxuser/sendMessageCode #客户端注册获取验证码
|
||||
- /portal/v1/wxuser/registsUser #客户端注册
|
||||
- /portal/v1/wxuser/login #客户端登录
|
||||
- /portal/file/getImgBase64
|
||||
- /portal/v1/wxuser/checkResetPwdCode #客户端端验证找回密码的验证码
|
||||
- /portal/v1/wxuser/resetPwd #修改密码
|
||||
- /portal/v1/sysstaffinfo/searchAppContactsList #通讯录搜索
|
||||
- /base/v1/basevehiclebrand/selectAppListByManufacturerSid # 查询品牌
|
||||
|
||||
- /portal/file/upload #上传文件
|
||||
- /crm/v1/crmcustomer/getsCard #证件扫描
|
||||
- /crm/v1/crmcustomertemp/getCustomerTempListByUserSid #获取客户列表
|
||||
- /base/v1/baseaffiliatcompanyappendix/uploadImage #挂靠公司附件上传
|
||||
- /base/v1/basedistributorappendix/upload #经销商备案资料
|
||||
- /base/v1/basefinbank/listPage #查询资方
|
||||
|
||||
# 数据字典
|
||||
- /portal/v1/dictcommons/typeValues # 获取下拉框
|
||||
# 手机批量上传
|
||||
- /base/file/batchUploadImage
|
||||
- /portal/file/batchUploadImage
|
||||
- /terminal/autoservice/v1/getVins/{modelSid}/{configSid} #获取车架号
|
||||
# 手机端根据使用orgSid查询生产厂商列表
|
||||
- /base/v1/basemanufacturer/selectAppListByOrgSid
|
||||
# 查询中介单位
|
||||
- /base/v1/basedistributor/getAppDistributorList
|
||||
# 查询挂靠单位
|
||||
- /base/v1/baseaffiliatcompany/getAppAffiliatList
|
||||
|
||||
# 省市县
|
||||
- /portal/v1/regions/getProvince
|
||||
- /portal/v1/regions/getCity
|
||||
- /portal/v1/regions/getCounty
|
||||
- /portal/v1/wxuser/test
|
||||
- /portal/v1/appuser/updateAppId #解绑用户的appId
|
||||
|
||||
|
||||
whitesTwo: #包含所有
|
||||
###swagger相关开始
|
||||
- /doc.html
|
||||
- /webjars/**
|
||||
- /swagger-resources
|
||||
- /v2/**
|
||||
- /favicon.ico
|
||||
- /upload/**
|
||||
###swagger相关结束
|
||||
|
||||
Reference in New Issue
Block a user