Commit Graph

14 Commits

Author SHA1 Message Date
wzxjohn
45073b3b2b feat: improve log delete api 2025-04-28 11:25:04 +08:00
CalciumIon
7e8adb5b34 feat: Enhance logging functionality with group support
- Added a new 'group' parameter to various logging functions, including RecordConsumeLog, GetAllLogs, and GetUserLogs, to allow for more granular log tracking.
- Updated the logs table component to display group information, improving the visibility of log data.
- Refactored related functions to accommodate the new group parameter, ensuring consistent handling across the application.
- Improved the initialization of the group column for PostgreSQL compatibility.
2024-12-24 14:48:11 +08:00
CalciumIon
e77d94ca8d fix: log page 'Cannot read properties of undefined (reading 'length')' 2024-08-14 22:43:57 +08:00
OswinWu
8a51ae300e fix: log分页问题 2024-08-11 11:21:34 +08:00
CaIon
7c547cbceb feat: Add logs page-size 2024-03-15 15:07:14 +08:00
CaIon
8344b66ba9 合并最新代码 2023-09-17 21:07:00 +08:00
CaIon
23d9554415 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/log.go
#	controller/relay-audio.go
#	controller/relay-image.go
#	controller/relay-text.go
#	controller/relay.go
#	middleware/distributor.go
#	model/log.go
#	web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
Xyfacai
ead3b915ca feat: supprt channel priority now & record channel id in log (#484)
* feat: 支持设置渠道优先级 & 日志中显示使用的渠道ID

* fix: 设置渠道优先级未更新 ability

* chore: update implementation

---------

Co-authored-by: Xiangyuan Liu <xiangyuan.liu@ui.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-09-17 19:18:16 +08:00
JustSong
39328d65c2 feat: able to delete logs now (close #486) 2023-09-17 17:09:56 +08:00
CaIon
c7d1cef7b4 修改stat接口返回值 2023-08-25 00:40:11 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
baab9c71ac feat: able to query token with admin user 2023-06-24 19:13:33 +08:00
JustSong
e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +08:00
JustSong
70370e4035 feat: able to check topup history & consumption history (#78, #95) 2023-06-09 16:59:00 +08:00