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; /** *
* TODO *
* * @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(); } }