fix v2 gateway 表主键

master
luoyang 7 years ago
parent 8273f8949e
commit 1f08a56397

@ -13,7 +13,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.1.2</jib-maven-plugin.version> <jib-maven-plugin.version>1.1.2</jib-maven-plugin.version>
<docker-image.version>1.0.31</docker-image.version> <docker-image.version>1.0.32</docker-image.version>
</properties> </properties>
<dependencies> <dependencies>

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