| | |
| | | return MD5.sign(preStr, "&key=" + properties.getKey(), "utf-8"); |
| | | case HWC2: |
| | | return MD5.sign(preStr, "&key=" + properties.getKey2(), "utf-8"); |
| | | case HWC3: |
| | | return MD5.sign(preStr, "&key=" + properties.getKey3(), "utf-8"); |
| | | } |
| | | throw new BadRequestException("汇旺财类型错误"); |
| | | } |
| | |
| | | return !SignUtils.checkParam(resultMap, properties.getKey()); |
| | | case HWC2: |
| | | return !SignUtils.checkParam(resultMap, properties.getKey2()); |
| | | case HWC3: |
| | | return !SignUtils.checkParam(resultMap, properties.getKey3()); |
| | | } |
| | | throw new BadRequestException("汇旺财类型错误"); |
| | | } |