admin
2025-08-08 035edfa382d349ba66240fbfef68c14c7cfc95d1
src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoController.java
@@ -64,6 +64,7 @@
        }
        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);
@@ -90,8 +91,10 @@
            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("");