mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:03:27 +08:00
【优化】移除2个orderBy使用的sql组合方法参数,移除4个仓储基类的所有sql组合方法,全部使用参数化提交,防止出现可能存在的sql注入。
This commit is contained in:
@@ -1243,7 +1243,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
r.AddRange(arr);
|
||||
});
|
||||
|
||||
var labels = _labelServices.QueryListByClause(p => r.Contains(p.id));
|
||||
var labels =await _labelServices.QueryListByClauseAsync(p => r.Contains(p.id));
|
||||
|
||||
jm.code = 0;
|
||||
jm.data = new
|
||||
|
||||
Reference in New Issue
Block a user