| | |
| | | } |
| | | query.start = (page-1)*limit; |
| | | query.count = limit; |
| | | query.clientType = ClientInfo.CLIENT_TYPE_AGENT_PAYMENT; |
| | | query.sortList= Arrays.asList(new String[]{"create_time desc"}); |
| | | JSONObject data=new JSONObject(); |
| | | List<ClientInfo> list = clientInfoService.list(query); |
| | |
| | | return JsonUtil.loadFalseResult("单次创建最多100个"); |
| | | } |
| | | for(int i=0;i<count;i++){ |
| | | ClientInfo info=new ClientInfo(); |
| | | info.setPwd(StringUtil.Md5(pwd)); |
| | | ClientInfo info=ClientInfo.builder() |
| | | .pwd(StringUtil.Md5(pwd)) |
| | | .clientType(ClientInfo.CLIENT_TYPE_AGENT_PAYMENT) |
| | | .build(); |
| | | clientInfoService.add(info); |
| | | } |
| | | return JsonUtil.loadTrueResult(""); |