Commit ce24e35f authored by 吴琼's avatar 吴琼

修改类型

parent f776b6fd
...@@ -272,7 +272,7 @@ public class UserRest { ...@@ -272,7 +272,7 @@ public class UserRest {
/** /**
*根据userId查询优惠券信息(详情) *根据userId查询优惠券信息(详情)
*/ */
@PostMapping(value = "/search/getUserCouponInfo") @GetMapping(value = "/search/getUserCouponInfo")
public JsonResult getUserCouponInfo(UserQueryParam userQueryParam) { public JsonResult getUserCouponInfo(UserQueryParam userQueryParam) {
MoResult<String> result = userService.queryUserCouponInfoByUserParam(userQueryParam); MoResult<String> result = userService.queryUserCouponInfoByUserParam(userQueryParam);
if(!"0000".equals(result.getCode())){ if(!"0000".equals(result.getCode())){
......
...@@ -862,7 +862,7 @@ public class UserServiceImpl implements IUserService { ...@@ -862,7 +862,7 @@ public class UserServiceImpl implements IUserService {
if (Objects.nonNull(userQueryParam.getPageSize())) { if (Objects.nonNull(userQueryParam.getPageSize())) {
param.put("pageSize", userQueryParam.getPageSize()); param.put("pageSize", userQueryParam.getPageSize());
} }
String result = httpService.post(url, header, param); String result = httpService.get(url, header, param);
MoResult moResult = GSON.fromJson(result, MoResult.class); MoResult moResult = GSON.fromJson(result, MoResult.class);
log.info("[user][queryUserCouponInfoByUserParam] 请求业务系统返回值:{}", result); log.info("[user][queryUserCouponInfoByUserParam] 请求业务系统返回值:{}", result);
return moResult; return moResult;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment