wanghousheng 8 months ago
parent 386dfd52a7
commit 4548d8ca45
  1. 2
      app/api/service/identity/PaySuccess.php

@ -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;
//已经是分销商

Loading…
Cancel
Save