UserStaff get user staff @Summary get user staff @Description get user staff @Tags User @Accept json @Produce json @Param username query string true "username" @Param page_size query string true "page_size" @Success 200 {object} handler.RespBody{data=schema.GetUserStaffResp} @Router /answer/api/v1/u
(ctx *gin.Context)
| 657 | // @Success 200 {object} handler.RespBody{data=schema.GetUserStaffResp} |
| 658 | // @Router /answer/api/v1/user/staff [get] |
| 659 | func (uc *UserController) UserStaff(ctx *gin.Context) { |
| 660 | req := &schema.GetUserStaffReq{} |
| 661 | if handler.BindAndCheck(ctx, req) { |
| 662 | return |
| 663 | } |
| 664 | |
| 665 | resp, err := uc.userService.GetUserStaff(ctx, req) |
| 666 | handler.HandleResponse(ctx, err, resp) |
| 667 | } |
| 668 | |
| 669 | // UserUnsubscribeNotification unsubscribe notification |
| 670 | // @Summary unsubscribe notification |
nothing calls this directly
no test coverage detected