feat(withdrawal): 增加提现审核对账与历史记录

This commit is contained in:
yml2213
2026-11-02 19:02:30 +08:00
parent 5334c2b218
commit 1b23b9b14b
12 changed files with 1595 additions and 250 deletions
@@ -140,6 +140,25 @@ func (h *Handler) AdminFindByID(c *gin.Context) {
response.OK(c, withdrawal)
}
func (h *Handler) AdminReviewContext(c *gin.Context) {
id, ok := parseID(c)
if !ok {
return
}
var query WithdrawalReviewContextQuery
if err := c.ShouldBindQuery(&query); err != nil {
response.BadRequest(c, "请求参数错误")
return
}
result, err := h.service.AdminReviewContext(c.Request.Context(), id, query)
if err != nil {
writeError(c, err)
return
}
response.OK(c, result)
}
func (h *Handler) Review(c *gin.Context) {
adminID, ok := currentAdminID(c)
if !ok {