Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
df6cf713
Commit
df6cf713
authored
Nov 30, 2020
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路由配置修改
parent
d7450cab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
ant-design-vue-jeecg/src/views/user/Login.vue
+1
-1
jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java
+1
-0
jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application.yml
+15
-15
No files found.
ant-design-vue-jeecg/src/views/user/Login.vue
View file @
df6cf713
...
...
@@ -11,7 +11,7 @@
size=
"large"
v-decorator=
"['username',validatorRules.username,
{ validator: this.handleUsernameOrEmail }]"
type="text"
placeholder="请输入帐户名 /
jeecg
">
placeholder="请输入帐户名 /
admin
">
<a-icon
slot=
"prefix"
type=
"user"
:style=
"
{ color: 'rgba(0,0,0,.25)' }"/>
</a-input>
</a-form-item>
...
...
jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java
View file @
df6cf713
...
...
@@ -41,6 +41,7 @@ public class RedisConfiguration {
* @return
*/
@Bean
@ConditionalOnMissingBean
(
RedisTemplate
.
class
)
public
RedisTemplate
<
String
,
Object
>
redisTemplate
(
LettuceConnectionFactory
lettuceConnectionFactory
)
{
log
.
info
(
" --- redis config init --- "
);
// 设置序列化
...
...
jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application.yml
View file @
df6cf713
...
...
@@ -33,21 +33,21 @@ spring:
uri
:
lb:ws://jeecg-demo
predicates
:
-
Path=/vxeSocket/**
# 全局熔断降级配置
default-filters
:
-
name
:
Hystrix
args
:
name
:
default
#转发地址
fallbackUri
:
'
forward:/fallback'
-
name
:
Retry
args
:
#重试次数,默认值是 3 次
retries
:
3
#HTTP 的状态返回码
statuses
:
BAD_GATEWAY,BAD_REQUEST
#指定哪些方法的请求需要进行重试逻辑,默认值是 GET 方法
methods
:
GET,POST
# 全局熔断降级配置
default-filters
:
-
name
:
Hystrix
args
:
name
:
default
#转发地址
fallbackUri
:
'
forward:/fallback'
-
name
:
Retry
args
:
#重试次数,默认值是 3 次
retries
:
3
#HTTP 的状态返回码
statuses
:
BAD_GATEWAY,BAD_REQUEST
#指定哪些方法的请求需要进行重试逻辑,默认值是 GET 方法
methods
:
GET,POST
# hystrix 信号量隔离,3秒后自动超时
hystrix
:
enabled
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment