fix v2 gateway 表主键

master
luoyang 6 years ago
parent 1223368fb6
commit 808e0eef58

@ -3235,7 +3235,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
if (gatewaySignInfo == null) { if (gatewaySignInfo == null) {
JSONObject key = getRsaKey(); JSONObject key = getRsaKey();
gatewaySignInfo = new JSONObject(); gatewaySignInfo = new JSONObject();
gatewaySignInfo.put("client_moniker", client.getIntValue("client_moniker")); gatewaySignInfo.put("client_moniker", client.getString("client_moniker"));
gatewaySignInfo.put("platform_public_key", key.getString("public_key")); gatewaySignInfo.put("platform_public_key", key.getString("public_key"));
gatewaySignInfo.put("platform_private_key", key.getString("private_key")); gatewaySignInfo.put("platform_private_key", key.getString("private_key"));
gatewaySignInfo.put("is_valid", 0); gatewaySignInfo.put("is_valid", 0);

Loading…
Cancel
Save