From b1bc829eaba195dda31d0416a58e68f27affabe0 Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 16 Apr 2020 11:26:04 +0800 Subject: [PATCH] fix delete test --- .../manage/dev/web/TestController.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java b/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java index bd05afa1d..96286c822 100644 --- a/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java +++ b/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java @@ -482,16 +482,16 @@ public class TestController { clientManager.updateAllPartnerPassword("PINE"); } - @ManagerMapping(value = "/getPineAccoutPasswd", method = RequestMethod.GET, role = ManagerRole.DEVELOPER) - public List getPineAccountPasswd() { - Query query = new Query(); - List accountInfos = mongoTemplate.find(query,TestMerchantAccountInfo.class); - List accounts = new ArrayList<>(); - for (TestMerchantAccountInfo accountInfo : accountInfos) { - accounts.add(accountInfo.toJSON()); - } - return accounts; - } +// @ManagerMapping(value = "/getPineAccoutPasswd", method = RequestMethod.GET, role = ManagerRole.DEVELOPER) +// public List getPineAccountPasswd() { +// Query query = new Query(); +// List accountInfos = mongoTemplate.find(query,TestMerchantAccountInfo.class); +// List accounts = new ArrayList<>(); +// for (TestMerchantAccountInfo accountInfo : accountInfos) { +// accounts.add(accountInfo.toJSON()); +// } +// return accounts; +// } @ManagerMapping(value = "/secure/hanyin_reports/{date}", role = ManagerRole.DEVELOPER, method = RequestMethod.GET) public void downloadHanyinSecureReports(@PathVariable String date, @RequestParam(defaultValue = "false") boolean upload, HttpServletResponse resp) {