| | |
| | | if (!StringUtils.isNullOrEmpty(error)) { |
| | | throw new YamiShopBindException(error); |
| | | } |
| | | sysUserService.checkSafeWord(model.getLoginSafeword()); |
| | | //sysUserService.checkSafeWord(model.getLoginSafeword()); |
| | | User party = userService.findUserByUserCode(model.getUserCode()); |
| | | if (null == party) { |
| | | throw new YamiShopBindException("用户不存在"); |
| | |
| | | if (!StringUtils.isNullOrEmpty(error)) { |
| | | throw new YamiShopBindException(error); |
| | | } |
| | | sysUserService.checkSafeWord(model.getLoginSafeword()); |
| | | //sysUserService.checkSafeWord(model.getLoginSafeword()); |
| | | C2cPaymentMethod method = adminC2cPaymentMethodService.get(model.getId()); |
| | | if (null == method) { |
| | | throw new YamiShopBindException("支付方式不存在"); |
| | |
| | | if (StringUtils.isNullOrEmpty(param_value1)) { |
| | | return "参数值1必填"; |
| | | } |
| | | if (StringUtils.isNullOrEmpty(login_safeword)) { |
| | | /*if (StringUtils.isNullOrEmpty(login_safeword)) { |
| | | return "资金密码错误"; |
| | | } |
| | | }*/ |
| | | return ""; |
| | | } |
| | | |
| | |
| | | if (StringUtils.isNullOrEmpty(param_value1)) { |
| | | return "参数值1必填"; |
| | | } |
| | | if (StringUtils.isNullOrEmpty(login_safeword)) { |
| | | /*if (StringUtils.isNullOrEmpty(login_safeword)) { |
| | | return "资金密码错误"; |
| | | } |
| | | }*/ |
| | | return ""; |
| | | } |
| | | } |