feature: more cycle

This commit is contained in:
Tokumeikoi
2020-09-10 21:48:44 +08:00
parent 8a44ccb3fc
commit 85c4e477d2
9 changed files with 21 additions and 7 deletions

View File

@ -153,6 +153,10 @@ class CheckOrder extends Command
return strtotime('+6 month', $timestamp);
case 'year_price':
return strtotime('+12 month', $timestamp);
case 'two_year_price':
return strtotime('+24 month', $timestamp);
case 'three_year_price':
return strtotime('+36 month', $timestamp);
}
}
}