From 75b9f225c0fb0bbd429d542d4e20337f3c0e13f1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 21 八月 2019 18:39:41 +0800 Subject: [PATCH] 金币获取服务修改 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCouponControllerV2.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCouponControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCouponControllerV2.java index 84ed469..917ecb9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCouponControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserCouponControllerV2.java @@ -121,29 +121,29 @@ } + /** + * 璧犻�佸埜鍙d护鐢熸垚 + * @param acceptData + * @param uid + * @param id + * @param out + */ @RequestMapping(value = "giveCoupon", method = RequestMethod.POST) public void giveCoupon(AcceptData acceptData, Long uid, Long id, PrintWriter out) { if (uid == null || uid <= 0) { out.print(JsonUtil.loadFalseResult(1, "鐢ㄦ埛鏈櫥褰�")); return; } - if (id == null || id <= 0) { out.print(JsonUtil.loadFalseResult(1, "浼犻�掑弬鏁颁笉姝g‘")); return; } - - try { String tips = UserSystemCouponService.giveCoupon(uid, id); out.print(JsonUtil.loadTrueResult(tips)); } catch (UserSystemCouponException e) { out.print(JsonUtil.loadFalseResult(1, e.getMsg())); } - - - - } } -- Gitblit v1.8.0