瀏覽代碼

注册账号加任务登录监测

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挂载玩家数据