店铺优化功能优化

This commit is contained in:
wule committed 2026-04-27 20:38:53 +08:00
1 parent 5e0a54a8ba
commit 16342df70a
22 files changed
+1121 -442

No files matched your search

@@ -894,8 +894,8 @@ namespace KJD_Web.BLL.WXXD
sql += where;
sql += " order by id desc limit " + Math.Max(0, page - 1) * page_size + "," + page_size + ";";
dt = mySql.ExecuteDataTable(sql);
mySql.Close();
}
mySql.Close();
if (dt != null)
{
@@ -79,7 +79,8 @@ namespace KJD_Web.BLL.WXXD
var userAuthLst = user.authority.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
if (!main_authority.Contains("积分用户"))
{
user.authority = string.Join(",", userAuthLst.Remove("积分用户"));
userAuthLst.Remove("积分用户");
user.authority = string.Join(",", userAuthLst);
}
else if (!user.authority.Contains("积分用户"))
{
@@ -344,7 +345,8 @@ namespace KJD_Web.BLL.WXXD
var userAuthLst = user.authority.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
if (!main_authority.Contains("积分用户"))
{
user.authority = string.Join(",", userAuthLst.Remove("积分用户"));
userAuthLst.Remove("积分用户");
user.authority = string.Join(",", userAuthLst);
}
else if (!user.authority.Contains("积分用户"))
{