项目初始化

This commit is contained in:
liuhanqing
2025-12-03 16:05:57 +08:00
commit 4b66b5bc44
871 changed files with 130415 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
package com.ruoyi.api.controller;
import com.ruoyi.api.service.ITestService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@RequestMapping("/test")
public class TestController {
@Resource
private ITestService testService;
@GetMapping("/sendSsjData")
public String sendSsjData(Integer id) {
boolean b = testService.sendSsjData(id);
if (!b) {
return "error";
}
return "success";
}
@GetMapping("/sendDdjData")
public String sendDdjData(Integer id) {
boolean b = testService.sendDdjData(id);
if (!b) {
return "error";
}
return "success";
}
}