12345678910111213141516171819202122232425262728293031323334 |
- package com.fdkankan.scene.controller;
- import com.fdkankan.fyun.face.FYunFileServiceInterface;
- import com.fdkankan.rabbitmq.util.RabbitMqProducer;
- import com.fdkankan.web.response.ResultData;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- /**
- * <p>
- * TODO
- * </p>
- *
- * @author dengsixing
- * @since 2022/8/17
- **/
- @RestController
- @RequestMapping("/test")
- public class TestController {
- @Autowired
- private RabbitMqProducer rabbitMqProducer;
- @Autowired
- private FYunFileServiceInterface fYunFileService;
- @GetMapping("/test")
- public ResultData test(){
- fYunFileService.deleteFolder("testUp");
- return ResultData.ok();
- }
- }
|