Restful Api
创建优惠券 | POST | /coupons |
---|---|---|
查询优惠券 | GET | /coupons |
拦截器想排除查询优惠券
<mvc:exclude-mapping path="/coupons" />
但是这样的话 会使得创建优惠券也被排除了。 有没办法同时指定请求方法?
如
<mvc:exclude-mapping path="/coupons" method="GET"/>
Restful Api
创建优惠券 | POST | /coupons |
---|---|---|
查询优惠券 | GET | /coupons |
拦截器想排除查询优惠券
<mvc:exclude-mapping path="/coupons" />
但是这样的话 会使得创建优惠券也被排除了。 有没办法同时指定请求方法?
如
<mvc:exclude-mapping path="/coupons" method="GET"/>