fix: UDM鉴权用户status默认0
This commit is contained in:
1 parent
53202b5be9
commit
c747fe3fb6
2 files changed
+5
-7
No files matched your search
@@ -1168,9 +1168,7 @@ func (s *UdmUserApi) UdmSubUserImport(w http.ResponseWriter, r *http.Request) {
|
||||
ctx.JSON(w, 200, result.ErrMsg(err.Error()))
|
||||
return
|
||||
}
|
||||
data2 := file.ReadCSVFile(localPath)
|
||||
neId = ""
|
||||
go s.subUser.InsertCSV(neId, data2)
|
||||
|
||||
// 复制到远程
|
||||
err = ssh.FileSCPLocalToNe(neInfo.Ip, localPath, nePath)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user