feat: 接入旧站管理端并完整迁移后台能力

This commit is contained in:
yml
2026-11-12 22:03:01 +08:00
parent e5f923706b
commit a4441bba9a
509 changed files with 140714 additions and 1068 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 {