|
@@ -129,6 +129,7 @@ var (
|
|
|
|
|
|
// 阿里云oss前端上传用
|
|
|
var (
|
|
|
+ AliStsScheme string
|
|
|
RegionId string
|
|
|
RoleArn string
|
|
|
RoleSessionName string
|
|
@@ -310,6 +311,7 @@ func init() {
|
|
|
|
|
|
// OSS相关(前端使用)
|
|
|
{
|
|
|
+ AliStsScheme = config["ali_sts_scheme"]
|
|
|
RegionId = config["region_id"]
|
|
|
RoleArn = config["role_arn"]
|
|
|
RoleSessionName = config["role_session_name"]
|