feat: chore oss upload

This commit is contained in:
zzw
2026-08-25 11:04:38 +08:00
parent ec041adb1c
commit b266a46f2d
6 changed files with 53 additions and 26 deletions
+4 -4
View File
@@ -2,7 +2,7 @@
login_out_time=43200 #api接口超时时间分
login_refresh_out_time=83200
name = "chore-service"
listenOn = "0.0.0.0:10500"
listenOn = "0.0.0.0:10300"
mode = "dev"
[log]
path = "logs"
@@ -18,8 +18,8 @@
[oss]
accessKeyId = "LTAI5t7U8KvxSiPE5auwQUuu"
accessKeySecret = "xjfgbQQRpL4TcIspNuClg6bYADa3pk"
roleArn = "acs:ram::你的账号ID:role/你的角色名"
roleSessionName = "chore-oss-upload"
roleArn = "acs:ram::1663896742753915:role/oss-upload"
roleSessionName = "oss-upload"
region = "oss-cn-hangzhou"
bucketName = "lone-images"
endpoint = "https://lone-images.oss-accelerate.aliyuncs.com"
@@ -34,4 +34,4 @@
db = 0
[encrypt]
data_key = "u2t9T3luZtoRfhBstkFN6TiIMW38BA8a"
data_key = "u2t9T3luZtoRfhBstkFN6TiIMW38BA8a"