Commit Graph

13 Commits

Author SHA1 Message Date
mlogclub e9d2e41f9e Refactor controllers to use httpx for JSON responses and eliminate context dependency
- Updated TagController methods to use httpx.WriteJSON for consistent JSON response handling.
- Refactored TicketController to replace context-dependent methods with standalone functions using httpx.
- Modified UserController to utilize httpx for error handling and response formatting.
- Adjusted WechatController to remove context dependency and standardize response handling.
2026-05-23 22:22:18 +08:00
mlogclub 79614b2d07 Refactor import paths to use internal/pkg/httpx/params
- Updated multiple repository and service files to replace imports from "github.com/mlogclub/simple/web/params" with "cs-agent/internal/pkg/httpx/params".
- Adjusted context handling in auth_service and ws_service to use gin.Context instead of iris.Context.
- Ensured consistent usage of HTTP status responses across websocket handlers.
2026-05-23 22:10:20 +08:00
mlogclub dba175b0fa feat(ticket): add customer linking functionality to tickets 2026-05-06 17:40:11 +08:00
mlogclub d181ff4947 fix(ticket): remove batch assign and restructure detail dialog 2026-05-06 17:40:10 +08:00
mlogclub d10c6cee67 fix(ticket): align progress routes 2026-05-02 21:05:11 +08:00
mlogclub 6d75ea9988 fix(ticket): close final integration gaps 2026-05-02 21:00:00 +08:00
mlogclub 872f28fd3f fix(ticket): complete stale request guards 2026-05-02 20:23:32 +08:00
mlogclub 8102f89308 fix(ticket): guard stale responses and stale hours 2026-05-02 20:20:30 +08:00
mlogclub 3130d4f14d fix(ticket): filter stale ticket list 2026-05-02 20:05:35 +08:00
mlogclub 5ccee6f714 fix(ticket): align lightweight frontend API 2026-05-02 19:53:18 +08:00
mlogclub a06ce7074e fix(ticket): close backend core review gaps 2026-05-02 18:57:40 +08:00
mlogclub fce0b5709d refactor(ticket): contract backend ticket core 2026-05-02 18:49:10 +08:00
mlogclub 62416baabc Refactor API endpoints to use /api/dashboard instead of /api/console
- Updated all relevant API functions in agent.ts, company.ts, customer-contact.ts, customer.ts, dashboard.ts, ticket-config.ts, and ticket.ts to point to the new /api/dashboard paths.
- Ensured that all request methods and payload structures remain unchanged to maintain existing functionality.
2026-04-15 17:12:30 +08:00