🎨 Mobile App switch sync
This commit is contained in:
parent
016f58e1a0
commit
9a9392c5af
1 changed files with 6 additions and 0 deletions
|
@ -212,6 +212,12 @@ func CheckAuth(c *gin.Context) {
|
|||
c.Next()
|
||||
return
|
||||
}
|
||||
if strings.HasPrefix(c.Request.RequestURI, "/api/sync/performSync") {
|
||||
if util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container {
|
||||
c.Next()
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 通过 Cookie
|
||||
|
|
Loading…
Add table
Reference in a new issue