소스 검색

注册账号加任务登录监测

cyzhao 1 년 전
부모
커밋
a858b0f4e2
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Gameserver/App/process/UserProc.php

+ 2 - 0
Gameserver/App/process/UserProc.php

@@ -205,6 +205,8 @@ class UserProc {
         
             UserProc::updateUserInfo();                                         # 这一步回存操作只有在 userInfo正常存在的情况下才进行
 
+            TaskProc::OnLogin_Daily();
+            TaskProc::OnLogin_day7();
             return $resp;
         } else {                                                                # 2.如果玩家已存在,则处理普通登录流程
             req()->game = $game;                                                # 给Req挂载玩家数据