修改注释
parent
134fac97e3
commit
9c895e9d0b
|
|
@ -41,7 +41,7 @@ namespace OpenAuth.App.ServiceApp.DataMaintenance
|
|||
var user = _auth.GetCurrentUser().User;
|
||||
var result = new Response<List<ApplicationData>>();
|
||||
|
||||
// 使用参数化查询避免SQL注入
|
||||
// 使用参数化
|
||||
var level = await db.Db.Ado.GetIntAsync("select min(\"Level\") from sys_userorg where \"UserId\" = @userId",
|
||||
new { userId = user.Id });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue