ref: UDM重载数据批量更新
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user