️ update reg

This commit is contained in:
源文雨
2022-11-21 23:18:29 +08:00
parent 72b11c2717
commit 02992271a1
16 changed files with 54 additions and 48 deletions

View File

@@ -4,11 +4,12 @@ import (
"encoding/json"
"github.com/FloatTech/floatbox/file"
"github.com/FloatTech/zbputils/control"
)
// load 加载rate数据
func load(area *rate, jsonfile string) error {
data, err := file.GetLazyData(jsonfile, true)
data, err := file.GetLazyData(jsonfile, control.Md5File, true)
if err != nil {
return err
}