优化客服群聊订单信息展示

This commit is contained in:
yml
2026-06-18 00:44:45 +08:00
parent 0add23dedb
commit 272b2cb71e
15 changed files with 479 additions and 55 deletions
@@ -32,6 +32,19 @@ func (h *Handler) AdminDetail(c *gin.Context) {
response.OK(c, item)
}
func (h *Handler) AdminLatestByListing(c *gin.Context) {
id, ok := parseID(c)
if !ok {
return
}
item, err := h.service.FindLatestAdminByListing(c.Request.Context(), id)
if err != nil {
writeOrderError(c, err)
return
}
response.OK(c, item)
}
func (h *Handler) AdminHandoffRecords(c *gin.Context) {
id, ok := parseID(c)
if !ok {