实现手动 proxy 同步接口
This commit is contained in:
@@ -129,9 +129,6 @@ func clientRouter(api fiber.Router) {
|
||||
client.Post("/verify/sms", handlers.SendSmsCode)
|
||||
|
||||
// 网关
|
||||
proxy := client.Group("/proxy")
|
||||
proxy.Post("/sync-pool", handlers.SyncProxyPool)
|
||||
|
||||
// 通道管理
|
||||
channel := client.Group("/channel")
|
||||
channel.Post("/remove", handlers.RemoveChannels)
|
||||
@@ -277,6 +274,8 @@ func adminRouter(api fiber.Router) {
|
||||
proxy.Post("/create", handlers.CreateProxy)
|
||||
proxy.Post("/update", handlers.UpdateProxy)
|
||||
proxy.Post("/update/status", handlers.UpdateProxyStatus)
|
||||
proxy.Post("/sync/ports", handlers.SyncProxyPorts)
|
||||
proxy.Post("/sync/chains", handlers.SyncProxyChains)
|
||||
proxy.Post("/remove", handlers.RemoveProxy)
|
||||
|
||||
// trade 交易
|
||||
|
||||
Reference in New Issue
Block a user