mirror of
https://github.com/L0w1y/JBKF.git
synced 2024-11-16 07:11:37 +00:00
script update
This commit is contained in:
parent
db5572504c
commit
24a609fba4
|
@ -232,8 +232,8 @@ function genLicenseId() {
|
|||
}).join('');
|
||||
}
|
||||
|
||||
function buildLicensePartJson(productCode, licenseId,twoYears) {
|
||||
let formattedDateTwoYears = '2099-08-01';
|
||||
function buildLicensePartJson(productCode, licenseId, twoYears) {
|
||||
let formattedDateTwoYears = '9999-01-01';
|
||||
if (twoYears) {
|
||||
let futureDateTwoYears = new Date();
|
||||
futureDateTwoYears.setFullYear(futureDateTwoYears.getFullYear() + 2);
|
||||
|
@ -245,8 +245,8 @@ function buildLicensePartJson(productCode, licenseId,twoYears) {
|
|||
|
||||
return JSON.stringify({
|
||||
"licenseId": licenseId,
|
||||
"licenseeName": "reborn",
|
||||
"assigneeName": "reborn",
|
||||
"licenseeName": "loch",
|
||||
"assigneeName": "pidor",
|
||||
"assigneeEmail": "",
|
||||
"licenseRestriction": "",
|
||||
"checkConcurrentUse": false,
|
||||
|
@ -257,7 +257,7 @@ function buildLicensePartJson(productCode, licenseId,twoYears) {
|
|||
}],
|
||||
"metadata": "0120230102PPAA013009",
|
||||
"hash": "41472961/0:1563609451",
|
||||
"gracePeriodDays": 7,
|
||||
"gracePeriodDays": 900,
|
||||
"autoProlongated": true,
|
||||
"isAutoProlongated": true
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue