41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
package com.nbclass.aliyun.sdk;
|
||
|
||
/**
|
||
*
|
||
* @author Leon
|
||
* @datetime 2019年4月12日 下午5:27:12
|
||
*/
|
||
public class AliyunConstant {
|
||
|
||
// 编码类型
|
||
public static final String ENCODE_TYPE = "UTF-8";
|
||
// 阿里云API签名方式,目前支持HMAC-SHA1
|
||
public static final String ALGORITHM = "HmacSHA1";
|
||
|
||
// AccessKey ID
|
||
public static final String accessKeyId = "sSJ5t0yC1CaKhPJ4";
|
||
// AccessKey Secret
|
||
public static final String accessKeySecret = "PsbdUTexU95BkiqO4ADELXpIaYdWGk";
|
||
|
||
// 访问域名
|
||
public static final String access_doamin = "https://szxgl.oss-cn-shenzhen.aliyuncs.com/";
|
||
// endpoint外网地址
|
||
public static final String endpoint_ww = "oss-cn-shenzhen.aliyuncs.com";
|
||
// endpoint内网地址
|
||
public static final String endpoint_nw = "oss-cn-shenzhen-internal.aliyuncs.com";
|
||
// 区域ID
|
||
public static final String regionId = "cn-shenzhen";
|
||
// OSS区域
|
||
public static final String ossLocation = "oss-cn-shenzhen";
|
||
// OSS Bucket
|
||
public static final String ossBucketName = "szxgl";
|
||
|
||
|
||
/**
|
||
* oss文件存放目录前缀
|
||
*/
|
||
public static final String key_prefix = "xgl-cases/";
|
||
|
||
|
||
}
|