123456789101112131415161718192021222324252627282930313233343536 |
- package com.fdkankan.scene.controller;
- import com.fdkankan.scene.service.ISceneCleanService;
- import com.fdkankan.web.response.ResultData;
- import com.fdkankan.fyun.face.FYunFileServiceInterface;
- 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 FYunFileServiceInterface fYunFileServiceInterface;
- @Autowired
- private ISceneCleanService sceneCleanService;
- @Autowired
- private FYunFileServiceInterface fYunFileService;
- @GetMapping("/test")
- public ResultData test(){
- fYunFileService.uploadFile("4dkankan","C:\\Users\\4dage\\Downloads\\4DKanKan_share.png", "test_1/test.png");
- return ResultData.ok();
- }
- }
|