云存储配置
()
| 199 | |
| 200 | // 云存储配置 |
| 201 | func (this *SysController) CloudStore() { |
| 202 | tab := this.GetString("tab", models.GlobalSys.StoreType) |
| 203 | modelConfig := models.NewConfig() |
| 204 | this.Data["Config"] = modelConfig.GetByCate(helper.ConfigCate(tab)) |
| 205 | this.Data["Tab"] = tab |
| 206 | this.Data["IsCloudStore"] = true |
| 207 | this.TplName = "cloud-store.html" |
| 208 | } |
| 209 | |
| 210 | func (this *SysController) SetCloudStore() { |
| 211 | storeType := helper.ConfigCate(this.GetString("tab", "cs-oss")) |