瀏覽代碼

百度招标预算限制

xuzhiheng 2 年之前
父節點
當前提交
800c76c50c
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      jyinfomatch/master/src/res/luascript/百度.lua

+ 8 - 2
jyinfomatch/master/src/res/luascript/百度.lua

@@ -484,8 +484,14 @@ function filterValidate(data)
 	if not matchSubtype(data["subtype"]) then
 		return nil,0
 	else
-		if data["bidamount"] == nil or data["bidamount"] < 2000000 then
-			return nil,0
+		if matchSubtype1(data["subtype"]) then
+			if data["bidamount"] == nil or data["bidamount"] < 2000000 then
+				return nil,0
+			end
+		else 
+			if data["budget"] == nil or data["budget"] < 2000000 then
+				return nil,0
+			end
 		end
 	end
 	--排除