DemoController.java 519 B

123456789101112131415161718
  1. package com.ym.mec.collectfee.controller;
  2. import org.springframework.web.bind.annotation.GetMapping;
  3. import org.springframework.web.bind.annotation.RequestMapping;
  4. import org.springframework.web.bind.annotation.RestController;
  5. import com.ym.mec.collectfee.common.web.BaseController;
  6. @RestController
  7. @RequestMapping("")
  8. public class DemoController extends BaseController {
  9. @GetMapping("/info")
  10. public Object getInfo() {
  11. System.out.println("************* Demo Controller *************");
  12. return succeed();
  13. }
  14. }