feat: extend Java config, Schema, and DB for selfhosted licensing SDK

This commit is contained in:
2026-05-18 22:20:14 +08:00
parent fbce298f2b
commit 91aabb500c
6 changed files with 132 additions and 7 deletions
+20 -1
View File
@@ -61,6 +61,24 @@
"tenantKey": {
"type": "string",
"description": "可选;租户或调用方标识。"
},
"offlineGraceDays": {
"type": "integer",
"minimum": 0,
"maximum": 365,
"default": 7,
"description": "离线宽限期(天),断网后允许继续使用的最大天数。"
},
"heartbeatIntervalHours": {
"type": "integer",
"minimum": 1,
"maximum": 720,
"default": 24,
"description": "心跳间隔(小时)。"
},
"publicKeyPem": {
"type": "string",
"description": "可选;RSA 公钥 PEM。不填则使用 SDK 内嵌公钥。"
}
}
},
@@ -72,7 +90,8 @@
"additionalProperties": false,
"properties": {
"bitanswerFeatureId": { "type": "integer" },
"bitanswerFeatureName": { "type": "string" }
"bitanswerFeatureName": { "type": "string" },
"selfhostedFeatureKey": { "type": "string" }
}
}
},