1部分废弃功能注释 2数据库商品车队费、贴单费等设置 3账户授权金额设置 4jit核价商品还原逻辑调整

This commit is contained in:
wule committed 2025-12-03 11:04:58 +08:00
1 parent 480d8c2cd4
commit 165df61234
52 files changed
+2019 -1023

No files matched your search

+13 -8
View File
@@ -623,15 +623,20 @@ namespace KJD_Web.Utils
/// <returns></returns>
public static string GetStringQuery(ref string queryString, string key)
{
queryString = "&" + queryString;
int nIndex = queryString.IndexOf("&" + key + "=");
if (nIndex == -1)
return null;
List<string> strLst = queryString.Split('&').ToList();
var temp = strLst.FirstOrDefault(s => s.StartsWith(key + "="));
if (temp != null)
temp = ("&" + temp).Replace("&" + key + "=", "");
string temp = queryString.Substring(nIndex).Replace("&" + key + "=", "");
nIndex = temp.IndexOf('&');
if (nIndex > -1)
temp = temp.Substring(0, nIndex);
//queryString = "&" + queryString;
//int nIndex = queryString.IndexOf("&" + key + "=");
//if (nIndex == -1)
// return null;
//string temp = queryString.Substring(nIndex).Replace("&" + key + "=", "");
//nIndex = temp.IndexOf('&');
//if (nIndex > -1)
// temp = temp.Substring(0, nIndex);
return temp;
}