mirror of
https://github.com/L0w1y/JBKF.git
synced 2024-11-16 15:21:36 +00:00
script update
This commit is contained in:
parent
db5572504c
commit
24a609fba4
|
@ -233,7 +233,7 @@ function genLicenseId() {
|
|||
}
|
||||
|
||||
function buildLicensePartJson(productCode, licenseId, twoYears) {
|
||||
let formattedDateTwoYears = '2099-08-01';
|
||||
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