Browse Source

重构代码

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
6fe64836c2
6 changed files with 9 additions and 9 deletions
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/AliyunOssController.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/AliyuncsVodController.java
  3. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/AliyunOssServiceImpl.java
  4. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/AliyuncsVodServiceImpl.java
  5. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/IAliyunOssService.java
  6. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/IAliyuncsVodService.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/AliyunOssController.java View File

@@ -1,8 +1,8 @@
package com.tuoheng.admin.controller;

import com.aliyuncs.sts.model.v20150401.AssumeRoleResponse;
import com.tuoheng.admin.service.IAliyunOssService;
import com.tuoheng.admin.service.impl.AliyunOssServiceImpl;
import com.tuoheng.admin.service.aliyun.IAliyunOssService;
import com.tuoheng.admin.service.aliyun.AliyunOssServiceImpl;
import com.tuoheng.common.core.utils.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/AliyuncsVodController.java View File

@@ -1,6 +1,6 @@
package com.tuoheng.admin.controller;

import com.tuoheng.admin.service.IAliyuncsVodService;
import com.tuoheng.admin.service.aliyun.IAliyuncsVodService;
import com.tuoheng.common.core.utils.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/AliyunOssServiceImpl.java → tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/AliyunOssServiceImpl.java View File

@@ -1,4 +1,4 @@
package com.tuoheng.admin.service.impl;
package com.tuoheng.admin.service.aliyun;

import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
@@ -11,7 +11,7 @@ import com.aliyuncs.profile.IClientProfile;
import com.aliyuncs.sts.model.v20150401.AssumeRoleRequest;
import com.aliyuncs.sts.model.v20150401.AssumeRoleResponse;
import com.tuoheng.admin.config.AliyuncsVodConfig;
import com.tuoheng.admin.service.IAliyunOssService;
import com.tuoheng.admin.service.aliyun.IAliyunOssService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/AliyuncsVodServiceImpl.java → tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/AliyuncsVodServiceImpl.java View File

@@ -1,4 +1,4 @@
package com.tuoheng.admin.service.impl;
package com.tuoheng.admin.service.aliyun;

import com.aliyun.oss.ClientException;
import com.aliyun.tea.TeaModel;
@@ -10,7 +10,7 @@ import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;
import com.aliyuncs.vod.model.v20170321.*;
import com.tuoheng.admin.config.AliyuncsVodConfig;
import com.tuoheng.admin.service.IAliyuncsVodService;
import com.tuoheng.admin.service.aliyun.IAliyuncsVodService;
import com.tuoheng.common.core.utils.StringUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/IAliyunOssService.java → tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/IAliyunOssService.java View File

@@ -1,4 +1,4 @@
package com.tuoheng.admin.service;
package com.tuoheng.admin.service.aliyun;

import java.net.URL;
import java.util.List;

tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/IAliyuncsVodService.java → tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/aliyun/IAliyuncsVodService.java View File

@@ -1,4 +1,4 @@
package com.tuoheng.admin.service;
package com.tuoheng.admin.service.aliyun;

import com.aliyuncs.vod.model.v20170321.CreateUploadVideoResponse;
import com.aliyuncs.vod.model.v20170321.GetVideoInfoResponse;

Loading…
Cancel
Save