fix(ticket): align progress routes

This commit is contained in:
mlogclub
2026-05-02 21:05:11 +08:00
parent 6d75ea9988
commit d10c6cee67
2 changed files with 3 additions and 7 deletions
@@ -213,11 +213,7 @@ func (c *TicketController) PostChange_status() *web.JsonResult {
return web.JsonSuccess()
}
func (c *TicketController) PostAdd_progress() *web.JsonResult {
return c.createProgress()
}
func (c *TicketController) AnyProgress_list() *web.JsonResult {
func (c *TicketController) AnyProgressList() *web.JsonResult {
if _, err := services.AuthService.RequirePermission(c.Ctx, constants.PermissionTicketView); err != nil {
return web.JsonError(err)
}
@@ -232,7 +228,7 @@ func (c *TicketController) AnyProgress_list() *web.JsonResult {
return web.JsonData(builders.BuildTicketProgressList(progresses))
}
func (c *TicketController) PostProgress_create() *web.JsonResult {
func (c *TicketController) PostProgressCreate() *web.JsonResult {
return c.createProgress()
}