浏览代码

默认值处理

WH01243 7 月之前
父节点
当前提交
2bb905f54b
共有 1 个文件被更改,包括 2 次插入2 次删除
  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": {