202404 免责声明
This commit is contained in:
@@ -12,7 +12,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
* @since 2017-06-19
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
//@EnableScheduling
|
||||
@MapperScan(value = {"com.ydd.oms.mapper","com.sv.mapper"})
|
||||
public class OmsApplication {
|
||||
|
||||
|
||||
@@ -20,17 +20,17 @@ import javax.annotation.Resource;
|
||||
public class DisclaimersController extends OmsController {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(DisclaimersController.class);
|
||||
|
||||
|
||||
@Resource
|
||||
private DisclaimersService disclaimersService;
|
||||
|
||||
/**
|
||||
* 查询免责声明信息
|
||||
*/
|
||||
@RequestMapping(value = "/notice/disclaimers", method = RequestMethod.POST)
|
||||
@RequestMapping(value = "/notice/disclaimers", method = RequestMethod.GET)
|
||||
public ResponseDTO findById() {
|
||||
return ResponseDTO.ok()
|
||||
.addAttribute("aboutUs", disclaimersService.findById(1));
|
||||
.addAttribute("disclaimers", disclaimersService.findById(1));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user