mirror of https://gitee.com/stylefeng/roses
【7.0.4】【bugfix】修复api注解的默认请求方法
parent
8c6dfb504c
commit
a1ed6c373b
|
@ -41,7 +41,7 @@ import java.lang.annotation.*;
|
||||||
@Target({ElementType.METHOD, ElementType.TYPE})
|
@Target({ElementType.METHOD, ElementType.TYPE})
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Documented
|
@Documented
|
||||||
@RequestMapping(method = RequestMethod.POST)
|
@RequestMapping
|
||||||
public @interface ApiResource {
|
public @interface ApiResource {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue