|
|
@@ -816,14 +816,14 @@ func InitRouter() *gin.Engine {
|
|
|
|
|
|
// ************************* 腾讯 *************************
|
|
|
tencentR := apiR.Group("Tencent")
|
|
|
- tencentR.Use(token.Auth())
|
|
|
+ tencentR.Use()
|
|
|
{
|
|
|
- tencentR.GET("QueryUsereSignRecords", tencent.QueryUsereSignRecords)
|
|
|
tencentR.POST("QianNotice", tencent.QianNotice)
|
|
|
- tencentR.POST("CreateConsoleLoginUrl", tencent.CreateConsoleLoginUrl)
|
|
|
- tencentR.POST("CreateFlowByTemplateDirectly", tencent.CreateFlowByTemplateDirectly)
|
|
|
- tencentR.GET("GetFlowStatus", tencent.GetFlowStatus)
|
|
|
- tencentR.POST("InitTencentESS", tencent.InitTencentESS)
|
|
|
+ tencentR.Use(token.Auth()).GET("QueryUsereSignRecords", tencent.QueryUsereSignRecords)
|
|
|
+ tencentR.Use(token.Auth()).POST("CreateConsoleLoginUrl", tencent.CreateConsoleLoginUrl)
|
|
|
+ tencentR.Use(token.Auth()).POST("CreateFlowByTemplateDirectly", tencent.CreateFlowByTemplateDirectly)
|
|
|
+ tencentR.Use(token.Auth()).GET("GetFlowStatus", tencent.GetFlowStatus)
|
|
|
+ tencentR.Use(token.Auth()).POST("InitTencentESS", tencent.InitTencentESS)
|
|
|
}
|
|
|
|
|
|
return r
|