代理+1 代理提现利润统计 二维码拿掉。 代理积分消耗情况统计
This commit is contained in:
1 parent
558c87897e
commit
bd3040efa3
69 files changed
+19415
-7071
No files matched your search
@@ -700,6 +700,33 @@ namespace AllBase
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取值
|
||||
/// </summary>
|
||||
/// <param name="html"></param>
|
||||
/// <param name="reg"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetStringXml(ref string html, string reg)
|
||||
{
|
||||
string temp = GetMatchRegexString(html, @"<" + reg + ">([^']+?)</" + reg + ">");
|
||||
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();
|
||||
|
||||
Reference in new issue
Block a user