Commit 2ba99dc6 by caiyt

Merge remote-tracking branch 'origin/v2' into v2

parents dbe80723 d398b1ec
...@@ -125,7 +125,7 @@ public class AppController extends BaseController { ...@@ -125,7 +125,7 @@ public class AppController extends BaseController {
public AjaxResult getUserAvailableCouponCnt(HttpServletRequest request) { public AjaxResult getUserAvailableCouponCnt(HttpServletRequest request) {
LoginUser loginUser = tokenService.getLoginUser(request); LoginUser loginUser = tokenService.getLoginUser(request);
if (loginUser == null) { if (loginUser == null) {
throw new ServiceException("请先登录"); throw new ServiceException("获取信息失败,请退出后重进");
} }
int custAvailableCouponCnt = couponUserService.getCustAvailableCouponCnt(loginUser.getOpenId()); int custAvailableCouponCnt = couponUserService.getCustAvailableCouponCnt(loginUser.getOpenId());
return AjaxResult.success(custAvailableCouponCnt); return AjaxResult.success(custAvailableCouponCnt);
......
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