|
|
@@ -1,18 +1,14 @@
|
|
|
package com.qingdaofushan.home.component;
|
|
|
|
|
|
import com.yanzhenjie.andserver.annotation.Controller;
|
|
|
-import com.yanzhenjie.andserver.annotation.PostMapping;
|
|
|
import com.yanzhenjie.andserver.annotation.RequestMapping;
|
|
|
import com.yanzhenjie.andserver.annotation.RequestMethod;
|
|
|
-import com.yanzhenjie.andserver.annotation.RequestParam;
|
|
|
-import com.yanzhenjie.andserver.annotation.RestController;
|
|
|
|
|
|
@Controller
|
|
|
public class ApiController {
|
|
|
|
|
|
private static final String MATCH_PREFIX = "/api/";
|
|
|
|
|
|
-
|
|
|
@RequestMapping(path = MATCH_PREFIX + "{v1}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
String v1() {
|
|
|
return "";
|
|
|
@@ -62,4 +58,56 @@ public class ApiController {
|
|
|
String v10() {
|
|
|
return "";
|
|
|
}
|
|
|
+
|
|
|
+ private static final String OSSMINI_MATCH_PREFIX = "/ossmini/";
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv1() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv2() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv3() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv4() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}/{v5}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv5() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}/{v5}/{v6}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv6() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}/{v5}/{v6}/{v7}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv7() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}/{v5}/{v6}/{v7}/{v8}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv8() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}/{v5}/{v6}/{v7}/{v8}/{v9}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv9() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(path = OSSMINI_MATCH_PREFIX + "{v1}/{v2}/{v3}/{v4}/{v5}/{v6}/{v7}/{v8}/{v9}/{v10}",method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
+ String ossminiv10() {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
}
|