فهرست منبع

百度招标预算限制

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
 	--排除