zouxuan 6 سال پیش
والد
کامیت
c3d0cafc0e
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/main/java/com/ym/mec/collectfee/controller/DemoController.java

+ 2 - 0
src/main/java/com/ym/mec/collectfee/controller/DemoController.java

@@ -1,11 +1,13 @@
 package com.ym.mec.collectfee.controller;
 
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 import com.ym.mec.collectfee.core.BaseController;
 
 @RestController
+@RequestMapping("")
 public class DemoController extends BaseController {
 
 	@GetMapping("/info")