refactor(thumb): thumb logic for slave policy

This commit is contained in:
Aaron Liu
2023-04-07 19:25:29 +08:00
parent ae118c337e
commit 7cb5e68b78
15 changed files with 75 additions and 78 deletions

View File

@@ -48,6 +48,12 @@ func Init(path string, statics fs.FS) {
model.Init()
},
},
{
"slave",
func() {
model.InitSlaveDefaults()
},
},
{
"both",
func() {