| | |
| | | |
| | | public class ObsUploadUtil { |
| | | |
| | | public static String endPoint = "obs.cn-north-4.myhuaweicloud.com"; |
| | | public static String accessKeyId = "X3V6GPYUK1VQ03K0JG4G"; |
| | | public static String accessKeySecret = "CustHR4B9XKdT7hGcEYEpV9UVUoc4pmUhnHckU9h"; |
| | | public static String bucketName = "jkjianshen"; |
| | | public static String oss_domain = "https://jkjianshen.obs.cn-north-4.myhuaweicloud.com/"; |
| | | // public static String oss_domain = "http://cdn.jkcyl.cn/"; |
| | | public static String endPoint = "obs.cn-south-1.myhuaweicloud.com"; |
| | | public static String accessKeyId = "HNZKSJL5LKM2NZVJPE8O"; |
| | | public static String accessKeySecret = "VjKImAoCB8Q2lEcwGO9xIemirpOVZuij9DVRSXcr"; |
| | | public static String bucketName = "xqgwzh"; |
| | | public static String oss_domain = "https://xqgwzh.obs.cn-south-1.myhuaweicloud.com/"; |
| | | //public static String oss_domain = "http://obs.xq.xqzhihui.com/"; |
| | | // 创建ObsClient实例 |
| | | public static ObsClient obsClient = new ObsClient(accessKeyId, accessKeySecret, endPoint); |
| | | |