Commit d1a5e211 by 张漳铖

新增油劵外部开放接口2

1 parent 82315419
......@@ -26,7 +26,8 @@ public class ShopmallCouponService {
public List<OilCouponListItem> queryOilCouponList() {
Result<List<OilCouponListItem>> result = RestTemplateUtils.fetchGet(serverUrl + ShopmallCouponApiService.QUERY_OIL_COUPON_LIST,
Result<List<OilCouponListItem>> result = RestTemplateUtils.fetchPost(serverUrl + ShopmallCouponApiService.QUERY_OIL_COUPON_LIST,
null,
new ParameterizedTypeReference<Result<List<OilCouponListItem>>>() {
});
return result.getData();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!