feat:增加导出接口

This commit is contained in:
henry
2022-05-03 00:23:54 +08:00
parent ae823d6aa8
commit 23e369d206
2 changed files with 35 additions and 0 deletions

View File

@ -168,6 +168,7 @@ func registerAdminAPI(app *gin.Engine) {
apiPrefix + "/v1/captcha",
apiPrefix + "/v1/account/login",
apiPrefix + "/v1/account/logout",
apiPrefix + "/v1/manage/import/company",
}...)))
{
_api := new(api.Websocket)
@ -332,6 +333,8 @@ func registerAdminAPI(app *gin.Engine) {
manage.POST("/agent/examine", _api.AgentExamine)
manage.POST("/enterprise", _api.Enterprise)
manage.POST("/enterprise/delete", _api.EnterpriseDelete)
manage.POST("/import/company", _api.ImportCompany)
manage.POST("/import/expert", _api.ImportExpert)
}
// Service 服务管理
service := v1.Group("/service")