mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 15:20:30 +08:00
Go: add show users plan quota (#16818)
### Summary ``` RAGFlow(admin)> show users plan quota 100; +---------+------------------------------------------+ | field | value | +---------+------------------------------------------+ | quota | 100 | | command | show_users_plan_quota | | error | 'Show users plan quota' is not supported | +---------+------------------------------------------+ ``` Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -143,6 +143,7 @@ func (r *Router) Setup(engine *gin.Engine) {
|
||||
protected.GET("/users/index", r.handler.ListUsersIndex)
|
||||
protected.GET("/users/quota", r.handler.ListUsersQuota)
|
||||
protected.GET("/users/plan/summary", r.handler.ShowUsersPlanSummary)
|
||||
protected.GET("/users/plan", r.handler.ShowUsersPlan)
|
||||
protected.GET("/users/quota/summary", r.handler.ShowUsersQuotaSummary)
|
||||
protected.GET("/ingestion/tasks/summary", r.handler.ShowIngestionTasksSummary)
|
||||
protected.GET("/data/summary", r.handler.ShowDataSummary)
|
||||
|
||||
Reference in New Issue
Block a user