⚡ 用户导入优化
This commit is contained in:
parent
e2ac799bf2
commit
9170b3e999
@ -182,7 +182,7 @@ namespace ZR.Admin.WebApi.Controllers.System
|
||||
List<SysUser> users = new();
|
||||
using (var stream = formFile.OpenReadStream())
|
||||
{
|
||||
users = stream.Query<SysUser>().ToList();
|
||||
users = stream.Query<SysUser>(startCell: "A2").ToList();
|
||||
}
|
||||
|
||||
return SUCCESS(UserService.ImportUsers(users));
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user