ref: UDM重载数据批量更新

This commit is contained in:
TsMask
2023-09-23 10:57:48 +08:00
parent 6147809e6e
commit f5b4819797
3 changed files with 55 additions and 14 deletions

View File

@@ -207,7 +207,7 @@ type UdmUserApi struct {
// GET /auths
func (s *UdmUserApi) UdmAuthUserList(w http.ResponseWriter, r *http.Request) {
querys := ctx.QueryMap(r)
querys["neId"] = "-"
querys["neId"] = ""
data := s.authUser.Page(querys)
ctx.JSON(w, 200, result.Ok(data))
}
@@ -607,7 +607,7 @@ func (s *UdmUserApi) UdmAuthUserImport(w http.ResponseWriter, r *http.Request) {
// GET /subs
func (s *UdmUserApi) UdmSubUserList(w http.ResponseWriter, r *http.Request) {
querys := ctx.QueryMap(r)
querys["neId"] = "-"
querys["neId"] = ""
data := s.subUser.Page(querys)
ctx.JSON(w, 200, result.Ok(data))
}