|
@@ -18,10 +18,10 @@ import java.util.Date;
|
18
|
18
|
@Service("ImageService")
|
19
|
19
|
public class ImageServiceimpl implements ImageServiceI {
|
20
|
20
|
|
21
|
|
- private static String endpoint = "http://oss-cn-hangzhou.aliyuncs.com";
|
22
|
|
- private static String accessKeyId = "LTAIiG6xeHbVzTXC";
|
23
|
|
- private static String accessKeySecret = "YUci8oBtm5WzobH6SP2eyZUbjCBKBo";
|
24
|
|
- private static String bucketName = "imgurlspace";
|
|
21
|
+ private static String endpoint = "http://oss-cn-shanghai.aliyuncs.com";
|
|
22
|
+ private static String accessKeyId = "LTAIkc75dpkJw8Lb";
|
|
23
|
+ private static String accessKeySecret = "v4bvXCaix6vSDTCFfwSAdqV53iFEQw";
|
|
24
|
+ private static String bucketName = "jingcheng-h5temp";
|
25
|
25
|
|
26
|
26
|
@Override
|
27
|
27
|
public String getImageUrl(MultipartFile uploadFile) throws IOException {
|