Skip to content

Commit

Permalink
预览页面放开不登录参数配置、可自定义登录账号和密码
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Aug 26, 2024
1 parent 0b19569 commit 46d879a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jimureport-example/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ spring:
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
security:
#放开预览页面不需要登录
open-view-page: true
#登录账号和密码
user:
name: "admin"
password: "123456"
Expand Down
3 changes: 3 additions & 0 deletions jimureport-example/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ spring:
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
security:
#放开预览页面不需要登录
open-view-page: true
#登录账号和密码
user:
name: "admin"
password: "123456"
Expand Down

0 comments on commit 46d879a

Please sign in to comment.