微信上货支持选择随机曝光量
This commit is contained in:
1 parent
b1f76eb13c
commit
78e911c7cf
5 files changed
+221
-48
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user