Kaynağa Gözat

注册账号加任务登录监测

cyzhao 1 yıl önce
ebeveyn
işleme
a858b0f4e2
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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挂载玩家数据