Feat: create SFC for oss callback

This commit is contained in:
HFO4
2020-03-01 16:25:56 +08:00
parent e8c4660c38
commit c30c19ca3e
12 changed files with 229 additions and 3 deletions

View File

@@ -334,8 +334,10 @@ func InitMasterRouter() *gin.Engine {
policy.POST("test/slave", controllers.AdminTestSlave)
// 创建存储策略
policy.POST("", controllers.AdminAddPolicy)
// 创建存储策略
// 创建跨域策略
policy.POST("cors", controllers.AdminAddCORS)
// 创建COS回调函数
policy.POST("scf", controllers.AdminAddSCF)
}
}