master
wangning 7 years ago
parent 7af74cb593
commit eff977631e

@ -421,7 +421,7 @@ public class RetailAppServiceImp implements RetailAppService {
public JSONObject getClientInfo(JSONObject device) { public JSONObject getClientInfo(JSONObject device) {
String clientType = device.getString("client_type"); String clientType = device.getString("client_type");
deviceSupport.findRegister(clientType); deviceSupport.findRegister(clientType);
JSONObject clientWithConfig = clientManager.getClientInfo(device.getIntValue("client_id")); JSONObject clientWithConfig = clientMapper.findClient(device.getIntValue("client_id"));
clientWithConfig.putAll(clientConfigService.find(device.getIntValue("client_id"))); clientWithConfig.putAll(clientConfigService.find(device.getIntValue("client_id")));
JSONObject res = SignInAccountServiceImpl.clientInfoWithNoSecretInfo(clientWithConfig); JSONObject res = SignInAccountServiceImpl.clientInfoWithNoSecretInfo(clientWithConfig);
res.put("is_skip_clearing", res.getBoolean("skip_clearing")); res.put("is_skip_clearing", res.getBoolean("skip_clearing"));

Loading…
Cancel
Save