| | |
| | | if (StringUtils.isEmptyString(id)) { |
| | | throw new YamiShopBindException("广告id不正确"); |
| | | } |
| | | if (StringUtils.isEmptyString(login_safeword)) { |
| | | throw new YamiShopBindException("资金密码错误"); |
| | | } |
| | | String userNameLogin = SecurityUtils.getSysUser().getUsername(); |
| | | sysUserService.checkSafeWord(model.getLogin_safeword()); |
| | | C2cAdvert c2cAdvert = this.c2cAdvertService.getById(id); |
| | |
| | | String login_safeword = request.getParameter("login_safeword"); |
| | | if (StringUtils.isEmptyString(id)) { |
| | | throw new YamiShopBindException("广告id不正确"); |
| | | } |
| | | if (StringUtils.isEmptyString(login_safeword)) { |
| | | throw new YamiShopBindException("资金密码错误"); |
| | | } |
| | | String userNameLogin = SecurityUtils.getSysUser().getUsername(); |
| | | sysUserService.checkSafeWord(login_safeword); |
| | |
| | | // } |
| | | if (StringUtils.isEmptyString(expire_time) || !StringUtils.isInteger(expire_time) || Integer.valueOf(expire_time).intValue() < 0) { |
| | | return "支付时效未填或格式不正确"; |
| | | } |
| | | if (StringUtils.isEmptyString(login_safeword)) { |
| | | return "资金密码错误"; |
| | | } |
| | | return null; |
| | | } |