mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
opt
This commit is contained in:
parent
c3e924036a
commit
26df97a862
@ -117,7 +117,8 @@ class CheckOrder extends Command
|
||||
$user->expired_at = time();
|
||||
}
|
||||
$user->transfer_enable = $plan->transfer_enable * 1073741824;
|
||||
if ((int)config('v2board.renew_reset_traffic_enable', 1)) {
|
||||
// 当续费清空流量或用户先前是一次性订阅
|
||||
if ((int)config('v2board.renew_reset_traffic_enable', 1) || $user->expired_at === NULL) {
|
||||
$user->u = 0;
|
||||
$user->d = 0;
|
||||
}
|
||||
|
@ -236,5 +236,5 @@ return [
|
||||
| The only modification by laravel config
|
||||
|
|
||||
*/
|
||||
'version' => '1.3'
|
||||
'version' => '1.3.1'
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user