diff --git a/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java b/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java index a11409f06..119d09b66 100644 --- a/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java +++ b/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java @@ -27,12 +27,13 @@ public class EncourageMoneyController { @Resource private EncourageService encourageService; - @RequestMapping(value = "/orders/{orderId}", method = RequestMethod.PUT) + @RequestMapping(value = "/orders/{orderId}", method = RequestMethod.GET) public JSONObject takeEncourageMoney(@PathVariable String orderId,@ModelAttribute(CommonConsts.WECHATINFO) JSONObject wxUser,@ModelAttribute(CommonConsts.ALIUSER) JSONObject aliuser) { String user_id = ""; if(wxUser==null){ user_id = aliuser.getString("user_id"); }else { + logger.info("====wxUser=="+wxUser.toJSONString()); user_id = wxUser.getString("openid"); } if(StringUtils.isEmpty(user_id)){