微信上货支持选择随机曝光量

This commit is contained in:
wule committed 2026-08-04 15:03:27 +08:00
1 parent b1f76eb13c
commit 78e911c7cf
5 files changed
+221 -48

No files matched your search

+11 -3
View File
@@ -70,12 +70,20 @@ namespace KJD_Web.Utils
}
}
public static JObject JObjectParse(string json)
public static JObject JObjectParse(string json, JsonLoadSettings settings = null)
{
try
{
JObject obj = JObject.Parse(json);
return obj;
if (settings == null)
{
JObject obj = JObject.Parse(json);
return obj;
}
else
{
JObject obj = JObject.Parse(json, settings);
return obj;
}
}
catch
{