fix: 模型倍率和价格无法设置

This commit is contained in:
CaIon 2024-03-23 23:24:17 +08:00
parent 0b3520e3c8
commit 6eb30ec3e6

View File

@ -271,11 +271,11 @@ func updateOptionMap(key string, value string) (err error) {
common.DataExportInterval, _ = strconv.Atoi(value)
case "DataExportDefaultTime":
common.DataExportDefaultTime = value
case "modelRatio":
case "ModelRatio":
err = common.UpdateModelRatioByJSONString(value)
case "GroupRatio":
err = common.UpdateGroupRatioByJSONString(value)
case "modelPrice":
case "ModelPrice":
err = common.UpdateModelPriceByJSONString(value)
case "TopUpLink":
common.TopUpLink = value