Explorar o código

默认值处理

WH01243 hai 7 meses
pai
achega
2bb905f54b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      jyBXCore/rpc/service/operator.go

+ 2 - 2
jyBXCore/rpc/service/operator.go

@@ -636,8 +636,8 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}, int64) {
 	//价格处理
 	if operator.Price != "" {
 		priceArr := strings.Split(operator.Price, "_")
-		minPrice := gconv.Int64(priceArr[0])
-		maxPrice := gconv.Int64(priceArr[1])
+		minPrice := gconv.Int64(priceArr[0]) * 10000
+		maxPrice := gconv.Int64(priceArr[1]) * 10000
 		bidamountArr := []string{`
 		{
 			"exists": {