TaskService.php 617 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace App\Module\Fund\Services;
  3. use App\Module\Fund\Logic\User;
  4. /**
  5. * Class Task
  6. *
  7. * @package App\Logic\Fund
  8. */
  9. class TaskService
  10. {
  11. /**
  12. * 检查和创建用户账户
  13. *
  14. * @param $userId
  15. * @return void
  16. * @throws \Exception
  17. */
  18. static public function checkCreateUAccoun($userId)
  19. {
  20. $list = AccountService::getFundsDesc();
  21. // dump($userId,$list);
  22. foreach ($list as $fundId => $name) {
  23. $ac = User::get_account($userId, $fundId,true);
  24. }
  25. }
  26. public function checkLog()
  27. {
  28. //@todo 验证日志
  29. }
  30. }