Skip to content

Commit

Permalink
Merge pull request #303 from Jzow/master
Browse files Browse the repository at this point in the history
Fix menu sorting disorder
  • Loading branch information
wansenai-bot authored Mar 19, 2024
2 parents cf74480 + 33c16e1 commit 8782a9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/api/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/wansenerp_v2?useUnicode=true&characterEncoding=utf-8&useSSL=false
url: jdbc:mysql://localhost:3306/wansenerp?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: PaSsw0Rd
password: passw0rd
dynamic:
druid:
max-wait: 60000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ open class SysMenuServiceImpl(
val menuVo = menuVoBuilder.build()
menuVos.add(menuVo)
}
menuVos.sortBy { it.sort }
}
menuData["total"] = menuVos.size
menuData["data"] = menuVos
Expand Down

0 comments on commit 8782a9d

Please sign in to comment.