Feat: process upload callback sent from slave node

This commit is contained in:
HFO4
2022-03-03 19:17:25 +08:00
parent 4925a356e3
commit e0714fdd53
11 changed files with 222 additions and 235 deletions

View File

@@ -223,7 +223,8 @@ func InitMasterRouter() *gin.Engine {
{
// 远程策略上传回调
callback.POST(
"remote/:key",
"remote/:sessionID/:key",
middleware.UseUploadSession("remote"),
middleware.RemoteCallbackAuth(),
controllers.RemoteCallback,
)