|
|
|
|
19
|
@Service("ImageService")
|
19
|
@Service("ImageService")
|
20
|
public class ImageServiceimpl implements ImageService {
|
20
|
public class ImageServiceimpl implements ImageService {
|
21
|
|
21
|
|
22
|
- private static String endpoint = "http://oss-cn-shanghai.aliyuncs.com";
|
|
|
|
|
22
|
+ private static String endpoint = "http://oss-cn-beijing.aliyuncs.com";
|
23
|
private static String accessKeyId = "LTAIkc75dpkJw8Lb";
|
23
|
private static String accessKeyId = "LTAIkc75dpkJw8Lb";
|
24
|
private static String accessKeySecret = "v4bvXCaix6vSDTCFfwSAdqV53iFEQw";
|
24
|
private static String accessKeySecret = "v4bvXCaix6vSDTCFfwSAdqV53iFEQw";
|
25
|
private static String bucketName = "whole-estate";
|
25
|
private static String bucketName = "whole-estate";
|