活动报名逻辑优化

This commit is contained in:
wule committed 2025-09-26 09:23:05 +08:00
1 parent d01d3bc306
commit 8fb90422a2
15 files changed
+1736 -291

No files matched your search

+4 -3
View File
@@ -676,13 +676,14 @@ namespace AllBase
/// <param name="html"></param>
/// <param name="key"></param>
/// <returns></returns>
public static string GetStringQuery(ref string querString, string key)
public static string GetStringQuery(ref string queryString, string key)
{
int nIndex = querString.IndexOf(key + "=");
var queryStringTmp = "&" + queryString;
int nIndex = queryStringTmp.IndexOf(key + "=");
if (nIndex == -1)
return null;
string temp = querString.Substring(nIndex).Replace(key + "=", "");
string temp = queryStringTmp.Substring(nIndex).Replace(key + "=", "");
nIndex = temp.IndexOf('&');
if (nIndex > -1)
temp = temp.Substring(0, nIndex);