|
|
|
@ -2426,6 +2426,15 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
clientManager.commitAuthFilesToCompliance(client.getString("client_moniker"), account, "App");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public JSONObject getClientSubManage(JSONObject device) {
|
|
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
deviceSupport.findRegister(clientType);
|
|
|
|
|
JSONObject client = clientManager.getClientInfo(device.getIntValue("client_id"));
|
|
|
|
|
result.put("sub_manage", client.getBooleanValue("sub_manage"));
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean isSubPartner(JSONObject device,String clientMoniker) {
|
|
|
|
|
JSONObject client = clientManager.getClientInfoByMoniker(clientMoniker);
|
|
|
|
|