From 136ff975a6ff4e4bbe9dae6e488cec33e5b2c681 Mon Sep 17 00:00:00 2001 From: duLingLing Date: Thu, 28 Nov 2019 11:26:55 +0800 Subject: [PATCH] =?UTF-8?q?Upd:=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BE=9BGeekpay?= =?UTF-8?q?ment-API=E8=BF=94=E5=9B=9E=E5=AD=97=E6=AE=B5=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/appclient/web/RetailClientController.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailClientController.java b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailClientController.java index aaae410e5..c2e62a914 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailClientController.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailClientController.java @@ -27,7 +27,6 @@ import javax.validation.Valid; @RestController @RequestMapping("/api/v1.0/royalpay/client") public class RetailClientController implements ApplicationEventPublisherAware { - Logger logger = LoggerFactory.getLogger(getClass()); @Resource private SignInStatusManager signInStatusManager; @Resource @@ -60,12 +59,12 @@ public class RetailClientController implements ApplicationEventPublisherAware { response.put("status", "SUCCESS"); JSONObject industryInfo = clientManager.findByLookupCode(clientAllInfo.getString("industry")); response.put("clientInfo", new JSONObject() {{ - put("client_moniker", clientAllInfo.getString("client_moniker")); + put("partner_code", clientAllInfo.getString("client_moniker")); put("company_name", clientAllInfo.getString("company_name")); - put("logo_url", clientAllInfo.getString("client_moniker")); - put("credential_code", clientAllInfo.getString("credential_code")); + put("logo", clientAllInfo.getString("client_moniker")); + put("gateway_credential", clientAllInfo.getString("credential_code")); put("industry_code", clientAllInfo.getString("industry")); - put("industry_label", industryInfo.getString("lookup_value")); + put("industry_value", industryInfo.getString("lookup_value")); }}); return response; }