|
|
@@ -29,9 +29,10 @@ class ConsoleController extends BaseController
|
|
|
$current = time();
|
|
|
$remain = strtotime($deadline) - $current;
|
|
|
if ($remain <= 1296000) {
|
|
|
-
|
|
|
+ //是否参加过免费续期活动
|
|
|
+ $rechargeRenew = $this->sjExtend['rechargeRenew'] ?? 2;
|
|
|
$parentId = $sj['parentId'] ?? 0;
|
|
|
- if (!empty($parentId)) {
|
|
|
+ if (!empty($parentId) && $rechargeRenew == 1) {
|
|
|
$title = '您的试用期已到,点击免费续期1年';
|
|
|
if ($remain > 0) {
|
|
|
$num = ceil($remain / 86400);
|