mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-04 10:14:00 +08:00
5962b9b518
fix: admin初始化出错
27 lines
832 B
Go
27 lines
832 B
Go
package gaia
|
|
|
|
import api "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
|
|
|
|
type RouterGroup struct {
|
|
DashboardRouter
|
|
QuotaRouter
|
|
TenantsRouter
|
|
SystemRouter
|
|
TestRouter
|
|
WorkflowRouter
|
|
AppVersionRouter
|
|
}
|
|
|
|
var (
|
|
dashboardApi = api.ApiGroupApp.GaiaApiGroup.DashboardApi
|
|
tenantsApi = api.ApiGroupApp.GaiaApiGroup.TenantsApi
|
|
)
|
|
var systemOAuth2Api = api.ApiGroupApp.GaiaApiGroup.SystemOAuth2Api
|
|
var systemApi = api.ApiGroupApp.GaiaApiGroup.SystemApi
|
|
var quotaApi = api.ApiGroupApp.GaiaApiGroup.QuotaApi
|
|
var testApi = api.ApiGroupApp.GaiaApiGroup.TestApi
|
|
var batchWorkflowApi = api.ApiGroupApp.GaiaApiGroup.BatchWorkflowApi
|
|
var appVersionApi = api.ApiGroupApp.GaiaApiGroup.AppVersionApi
|
|
var modelProviderApi = api.ApiGroupApp.GaiaApiGroup.ModelProviderApi
|
|
var forwardProxyApi = api.ApiGroupApp.GaiaApiGroup.ForwardProxyApi
|