243f2e23 by chentao

no message

1 parent 7c53800e
......@@ -19,6 +19,7 @@ import com.lego.oss.factory.OssFactory;
import com.lego.system.domain.vo.SysOssVo;
import com.lego.system.service.impl.SysOssServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
......@@ -80,6 +81,8 @@ public class CourseController extends BaseController {
@GetMapping("/encrypt")
public R<String> encrypt() {
List<CourseVo> list = baseMapper.selectVoList(null);
if(!CollectionUtils.isEmpty(list))
System.out.println("=================list.size()==========="+list.size());
OssClient storage = OssFactory.instance();
for (CourseVo courseVo : list) {
String ossIds = courseVo.getTwoDimensionalType();
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!