| | |
| | |
|
| | | }
|
| | |
|
| | | |
| | | /**
|
| | | * 校验用户资金是否异常
|
| | | * |
| | | * @param uid
|
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "checkMoney")
|
| | | public void checkMoney(String callback, String uid, PrintWriter out) {
|
| | |
|
| | | if (StringUtil.isNullOrEmpty(uid)) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("UID不能为空"));
|
| | | return;
|
| | | }
|
| | | |
| | | List<Integer> listChecked = extractService.checkExtract(uid);
|
| | | |
| | | if (listChecked == null || listChecked.size() == 0) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("资金异常"));
|
| | | return;
|
| | | }
|
| | | |
| | | Integer diversity = listChecked.get(0);
|
| | | if (diversity == 0) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult("资金正常"));
|
| | | } else {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("资金异常"));
|
| | | }
|
| | | }
|
| | | |
| | | }
|