fix v2 gateway 表主键

master
luoyang 5 years ago
parent 8273f8949e
commit 1f08a56397

@ -13,7 +13,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<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>
<dependencies>

@ -3235,7 +3235,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
if (gatewaySignInfo == null) {
JSONObject key = getRsaKey();
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_private_key", key.getString("private_key"));
gatewaySignInfo.put("is_valid", 0);

Loading…
Cancel
Save