settter
parent
c261f15207
commit
325e9eac44
|
@ -137,9 +137,9 @@ class Consumer extends Base
|
|||
$endTime = strtotime($item->end_time);
|
||||
if (($endTime - $time) < $weekTime) {
|
||||
$ExpirationTime = ($endTime - $time) / 86400;
|
||||
$item->ExpirationTime = "还有" . ceil($ExpirationTime) . "到期";
|
||||
$item->expirationTimeStr = "还有" . ceil($ExpirationTime) . "到期";
|
||||
} else {
|
||||
$item->ExpirationTime = '';
|
||||
$item->expirationTimeStr = '';
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue