Bläddra i källkod

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

CaIon 2 år sedan
förälder
incheckning
6eb30ec3e6
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      model/option.go

+ 2 - 2
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