| | |
| | | registry.addInterceptor(suAuthorityInterceptor).addPathPatterns("/**/su/**"); |
| | | //小程序公司与域名对应关系拦截 |
| | | registry.addInterceptor(hostInterceptor).addPathPatterns("/**/wxapi/**") |
| | | .excludePathPatterns("/wxCommon/wxapi/wxpayCallback"); |
| | | .excludePathPatterns("/wxCommon/wxapi/wxpayCallback") |
| | | .excludePathPatterns("/wxCommon/wxapi/rechargeCallBack"); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | String rechargeAmount = param.get("rechargeAmount"); |
| | | if (StringUtils.isBlank(rechargeAmount)) { |
| | | return AjaxResult.buildFailInstance("去输入充值金额"); |
| | | return AjaxResult.buildFailInstance("请输入充值金额"); |
| | | } |
| | | double total = new BigDecimal(rechargeAmount).setScale(2, BigDecimal.ROUND_HALF_DOWN).doubleValue(); |
| | | if (total < 0.02) { |