Browse Source

fixed: action done

王刚 3 years ago
parent
commit
aa317af641
3 changed files with 8 additions and 0 deletions
  1. 1 0
      Gameserver/Amfphp/process/TaskProc.php
  2. 7 0
      Gameserver/Amfphp/test.php
  3. 0 0
      Gameserver/Docs/bak.bak

+ 1 - 0
Gameserver/Amfphp/process/TaskProc.php

@@ -423,6 +423,7 @@ class TaskProc {
                 }
             }
         }
+        $store->taskcards->$taskCardUID = $taskCard;
         UserProc::updateUserInfo();
         return Resp::ok(array('store' => req()->userInfo->game->store));         # 返回值更新背包
     }

+ 7 - 0
Gameserver/Amfphp/test.php

@@ -15,3 +15,10 @@ echoLine("phpver: " . PHP_VERSION . PHP_EOL);
 //var_dump(date('YmdH'));
 
 var_dump(ceil(3.6));
+
+$arr = array();
+$i = 0;
+test(function ()use ($arr, $i) {
+
+    $arr[] = $i++;
+}, 20000);

File diff suppressed because it is too large
+ 0 - 0
Gameserver/Docs/bak.bak


Some files were not shown because too many files changed in this diff