fix: UDM鉴权用户status默认0
This commit is contained in:
@@ -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