拼多多买手直接退款 其他订单逻辑优化

This commit is contained in:
wule committed 2026-07-09 20:08:27 +08:00
1 parent 1669305479
commit b877695e4b
42 files changed
+1958 -1980

No files matched your search

+15
View File
@@ -679,6 +679,21 @@ namespace AllBase
return temp;
}
/// <summary>
/// 获取值
/// </summary>
/// <param name="html"></param>
/// <param name="reg"></param>
/// <returns></returns>
public static string GetStringXml(ref string html, string reg, string defaultValue)
{
string temp = GetMatchRegexString(html, @"<" + reg + ">([^']+?)</" + reg + ">");
if (string.IsNullOrEmpty(temp))
return defaultValue;
return temp;
}
public static string GetOneJsonObjStrJson(ref string html, string reg)
{
return GetJsonObjStrJson(ref html, reg).FirstOrDefault();