From 6eb30ec3e6dc856807f23f67214aabb4381929c7 Mon Sep 17 00:00:00 2001 From: CaIon <1808837298@qq.com> Date: Sat, 23 Mar 2024 23:24:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A8=A1=E5=9E=8B=E5=80=8D=E7=8E=87?= =?UTF-8?q?=E5=92=8C=E4=BB=B7=E6=A0=BC=E6=97=A0=E6=B3=95=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/option.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/option.go b/model/option.go index 8e34098..46e41da 100644 --- a/model/option.go +++ b/model/option.go @@ -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