Browse Source

添加token机制

Signed-off-by: fengb <fengbin1989@aliyun.com>
cangku
fengb 3 years ago
parent
commit
c2c7a6e309
  1. 12
      hiver-admin/src/main/resources/application.yml

12
hiver-admin/src/main/resources/application.yml

@ -232,7 +232,7 @@ app:
captcha: captcha:
# 图片验证码验证 # 图片验证码验证
image: image:
- /hiver/auth/login # 登录接口 # - /hiver/auth/login # 登录接口
- /hiver/oauth2/authorize # 开放平台认证接口 - /hiver/oauth2/authorize # 开放平台认证接口
- /hiver/common/captcha/sendRegistSms/** # 发送注册短信 - /hiver/common/captcha/sendRegistSms/** # 发送注册短信
- /hiver/common/captcha/sendResetSms/** # 发送重置密码短信 - /hiver/common/captcha/sendResetSms/** # 发送重置密码短信
@ -285,12 +285,14 @@ ignored:
- /hiver/iot/sensorHelper/** - /hiver/iot/sensorHelper/**
- /hiver/goview/visual/** - /hiver/goview/visual/**
- /hiver/license/verifyLicense - /hiver/license/verifyLicense
# 临时增加
- /hiver/app/**
- /hiver/thorui/**
- /hiver/order/**
# 发送短信验证码不能拦截 # 发送短信验证码不能拦截
- /hiver/auth/worker/app/sendLoginSms - /hiver/auth/worker/app/sendLoginSms
# # 临时增加
# - /hiver/app/**
# - /hiver/thorui/**
# - /hiver/order/**
# 限流及黑名单不拦截的路径 # 限流及黑名单不拦截的路径
limitUrls: limitUrls:
- /**/*.js - /**/*.js

Loading…
Cancel
Save