|
@@ -1,35 +0,0 @@
|
|
|
-package shop.alien.store.controller;
|
|
|
|
|
-
|
|
|
|
|
-import io.swagger.annotations.Api;
|
|
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
|
|
-import lombok.RequiredArgsConstructor;
|
|
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
-import org.springframework.web.bind.annotation.CrossOrigin;
|
|
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
-import shop.alien.entity.result.R;
|
|
|
|
|
-import shop.alien.store.service.SecondAiTaskService;
|
|
|
|
|
-
|
|
|
|
|
-/**
|
|
|
|
|
- * second_ai_task 控制器(占位)
|
|
|
|
|
- */
|
|
|
|
|
-@Api(tags = "二期-AI任务")
|
|
|
|
|
-@Slf4j
|
|
|
|
|
-@RestController
|
|
|
|
|
-@CrossOrigin
|
|
|
|
|
-@RequestMapping("/second/ai/task")
|
|
|
|
|
-@RequiredArgsConstructor
|
|
|
|
|
-public class SecondAiTaskController {
|
|
|
|
|
-
|
|
|
|
|
- private final SecondAiTaskService secondAiTaskService;
|
|
|
|
|
-
|
|
|
|
|
- @ApiOperation("AI任务模块占位")
|
|
|
|
|
- @GetMapping("/ping")
|
|
|
|
|
- public R<String> ping() {
|
|
|
|
|
- log.info("SecondAiTaskController.ping");
|
|
|
|
|
- return R.success("second_ai_task ready");
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|