Explorar el Código

更改Authorization为AuthorizationToken,阿里云OSS图片服务签名回调

change hace 4 años
padre
commit
22be512092

+ 1 - 1
zhongzheng-admin/src/main/resources/application-dev.yml

@@ -81,7 +81,7 @@ aliyun:
     oss:
         endpoint: testzhongzheng.oss-cn-beijing.aliyuncs.com # oss对外服务的访问域名
         accessKeyId: LTAI4FeyKgAY6A1dPfmsaMCg  # 访问身份验证中用到用户标识
-        accessKeySecret:  # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
+        accessKeySecret: 111 # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
         bucketName: testzhongzheng # oss的存储空间
         policy:
             expire: 30 # 签名有效期(S)

+ 1 - 1
zhongzheng-admin/src/main/resources/application-prod.yml

@@ -81,7 +81,7 @@ aliyun:
     oss:
         endpoint: testzhongzheng.oss-cn-beijing.aliyuncs.com # oss对外服务的访问域名
         accessKeyId: LTAI4FeyKgAY6A1dPfmsaMCg  # 访问身份验证中用到用户标识
-        accessKeySecret:  # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
+        accessKeySecret: 111 # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
         bucketName: testzhongzheng # oss的存储空间
         policy:
             expire: 30 # 签名有效期(S)