问题修复

main
limu 9 months ago
parent e5dee1b9da
commit 5fd2c5b29f
  1. 3
      app/controller/api/Auth.php

@ -445,8 +445,9 @@ class Auth extends BaseController
$repository->syncBaseAuth($auth, $user);
}
$user = $repository->mainUser($user);
if(!empty($data['spread'])){
$repository->bindSpread($user, intval($data['spread']), 1);
}
$tokenInfo = $repository->createToken($user);
$repository->loginAfter($user);
//上级获得推荐分

Loading…
Cancel
Save