|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|