| | |
| | | if (StringUtils.isEmpty(param_name1)) { |
| | | return "参数名1必填"; |
| | | } |
| | | if (StringUtils.isEmpty(login_safeword)) { |
| | | /*if (StringUtils.isEmpty(login_safeword)) { |
| | | return "请填写资金密码"; |
| | | } |
| | | }*/ |
| | | return ""; |
| | | } |
| | | |
| | |
| | | if (!StringUtils.isEmpty(error)) { |
| | | throw new YamiShopBindException(error); |
| | | } |
| | | sysUserService.checkSafeWord(config.getLoginSafeword()); |
| | | //sysUserService.checkSafeWord(config.getLoginSafeword()); |
| | | C2cPaymentMethodConfig cfg = this.c2cPaymentMethodConfigService.getById(id); |
| | | if (null == cfg) { |
| | | throw new YamiShopBindException("支付方式模板不存在"); |
| | |
| | | @ApiOperation(value = "删除") |
| | | @PostMapping("delete") |
| | | public Result<?> delete(@RequestBody @Valid C2cPaymentMethodConfigDeleteModel model) { |
| | | sysUserService.checkSafeWord(model.getLoginSafeword()); |
| | | //sysUserService.checkSafeWord(model.getLoginSafeword()); |
| | | C2cPaymentMethodConfig cfg = this.c2cPaymentMethodConfigService.getById(model.getId()); |
| | | |
| | | this.c2cPaymentMethodConfigService.delete(model.getId()); |