package com.jilongda.optometrist.component;
|
|
/**
|
* @author xiaochen
|
* @ClassName AliOss
|
* @Description
|
* @date 2020-04-15 10:23
|
*/
|
public class AliOssMange {
|
/**
|
* 请填写您的AccessKeyId。LTAI5tPbJsVfBZZTPqPe8A2r
|
*/
|
public static final String accessKeyId = "LTAI5tQZzqsZYX5gw8yRNchQ";
|
// public static final String accessKeyId = "LTAI5tPbJsVfBZZTPqPe8A2r";
|
/**
|
* 请填写您的AccessKeySecret。
|
*/
|
public static final String accessKeySecret = "5yJVdXwRzwPZwKKXp07lRAc7tkTxQp";
|
// public static final String accessKeySecret = "BvRc85RcX0bgrl9TMUOGHEMLUPlCr2";
|
/**
|
* 请填写您的 endpoint。
|
*/
|
public static final String endpoint = "oss-cn-hongkong.aliyuncs.com";
|
/**
|
* 请填写您的 bucketname 。
|
*/
|
// public static final String bucketName = "sales-bucket";
|
public static final String bucketName = "bizuphk";
|
/**
|
* cdn
|
*/
|
// public static final String cdn = "https://cdn.pharmacylinked.com";
|
// public static final String cdn = "https://nncdn.pharmacylinked.com";
|
/**
|
* host的格式为 bucketname.endpoint
|
*/
|
public static final String host = "https://" + bucketName + "." + endpoint;
|
|
// 此处不需要回调
|
// callbackUrl为上传回调服务器的URL,请将下面的IP和Port配置为您自己的真实信息。
|
public static final String callbackUrl = "https://alwaystest.xisheninfo.com/api/ali-oss/callback";
|
public static String dir = "hollywood/";
|
|
}
|