瀏覽代碼

oss配置增加权限校验

kobe6258 2 月之前
父節點
當前提交
7842d8868a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/resource.go

+ 1 - 1
controllers/resource.go

@@ -974,7 +974,7 @@ func IsFileExist(filename string) bool {
 // @Description 获取STSToken
 // @Success 200 获取成功
 // @router /oss/get_sts_token [get]
-func (this *ResourceController) OssSTSToken() {
+func (this *ResourceAuthController) OssSTSToken() {
 	br := new(models.BaseResponse).Init()
 	defer func() {
 		this.Data["json"] = br