|
@@ -50,6 +50,7 @@ func SetOss(c *gin.Context) { |
|
|
svc.ClearRedis(c, masterId, enum.FileBucketHost) |
|
|
svc.ClearRedis(c, masterId, enum.FileBucketHost) |
|
|
svc.ClearRedis(c, masterId, enum.FileBucketRegion) |
|
|
svc.ClearRedis(c, masterId, enum.FileBucketRegion) |
|
|
svc.ClearRedis(c, masterId, enum.FileBucket) |
|
|
svc.ClearRedis(c, masterId, enum.FileBucket) |
|
|
|
|
|
svc.ClearAllRedis(c, masterId) |
|
|
e.OutSuc(c, "success", nil) |
|
|
e.OutSuc(c, "success", nil) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
@@ -502,6 +503,7 @@ func SetMob(c *gin.Context) { |
|
|
sysCfgDb.SysCfgUpdate("mob_app_secret", req.MobAppSecret) |
|
|
sysCfgDb.SysCfgUpdate("mob_app_secret", req.MobAppSecret) |
|
|
svc.ClearRedis(c, masterId, "mob_app_key") |
|
|
svc.ClearRedis(c, masterId, "mob_app_key") |
|
|
svc.ClearRedis(c, masterId, "mob_app_secret") |
|
|
svc.ClearRedis(c, masterId, "mob_app_secret") |
|
|
|
|
|
svc.ClearAllRedis(c, masterId) |
|
|
e.OutSuc(c, "success", nil) |
|
|
e.OutSuc(c, "success", nil) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|