|
|
|
@ -12,6 +12,7 @@ import org.springblade.core.boot.ctrl.BladeController;
|
|
|
|
|
import org.springblade.core.log.logger.BladeLogger; |
|
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
|
import org.springblade.core.oss.OssTemplate; |
|
|
|
|
import org.springblade.core.oss.model.BladeFile; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
@ -39,6 +40,7 @@ import java.util.Map;
|
|
|
|
|
public class RobotTaskController extends BladeController { |
|
|
|
|
|
|
|
|
|
private final IRobotTaskService robot_taskService; |
|
|
|
|
private final OssTemplate ossTemplate; |
|
|
|
|
@Autowired |
|
|
|
|
BladeLogger logger; |
|
|
|
|
|
|
|
|
@ -150,6 +152,12 @@ public class RobotTaskController extends BladeController {
|
|
|
|
|
return R.data(robot_taskService.robotTaskList(tenantId,userId)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@GetMapping("/putFileTest") |
|
|
|
|
@ApiOperation(value = "测试minio文件上传", notes = "测试minio文件上传") |
|
|
|
|
public R<BladeFile> putFile(@ApiParam(value = "文件", required = true) @RequestParam MultipartFile file) { |
|
|
|
|
return R.data(ossTemplate.putFile(file)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 机器人 |
|
|
|
|
* 处理机器人巡检结果 |
|
|
|
|