|
|
|
@ -373,8 +373,8 @@ class PaySuccess extends BaseService |
|
|
|
|
if (!empty($userInfo['effective_time']) && strtotime($userInfo['effective_time']) > strtotime(date('Y-m-d'))) { |
|
|
|
|
$time = $userInfo['effective_time']; |
|
|
|
|
} |
|
|
|
|
$up['effective_time'] = date("Y-m-d", strtotime("+{$orderInfo['month']} months", strtotime($time))); |
|
|
|
|
} |
|
|
|
|
$up['effective_time'] = date("Y-m-d", strtotime("+{$orderInfo['month']} months", strtotime($time))); |
|
|
|
|
} else { |
|
|
|
|
$up['user_type'] = UserTypeEnum::DEALER; |
|
|
|
|
//已经是分销商 |
|
|
|
|