feat: add some feature
This commit is contained in:
21 files changed
+333
-24
No files matched your search
@@ -7,6 +7,7 @@
|
||||
|
||||
package cn.rtast.fancybot
|
||||
|
||||
import cn.rtast.fancybot.entity.Config
|
||||
import com.google.gson.Gson
|
||||
import com.google.gson.GsonBuilder
|
||||
|
||||
@@ -15,3 +16,9 @@ val gson: Gson = GsonBuilder()
|
||||
.disableHtmlEscaping()
|
||||
.serializeNulls()
|
||||
.create()
|
||||
|
||||
const val ROOT_PATH = "./data"
|
||||
|
||||
val DEFAULT_CONFIG = Config(
|
||||
cnmApi = "https://ncm.rtast.cn"
|
||||
)
|
||||
Reference in New Issue
Block a user