Optimize code

This commit is contained in:
2023-10-31 15:38:48 +08:00
parent 7b2ee34917
commit a8ba913ee2
32 changed files with 156 additions and 58 deletions

View File

@@ -0,0 +1,13 @@
package top.fatweb.api.properties
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component
@Component
@ConfigurationProperties("app.admin")
object AdminProperties {
var username = "admin"
var password: String? = null
var nickName = "Administrator"
var email = "admin@fatweb.top"
}