瀏覽代碼

fixed: 统一返回值结构

gwang 4 年之前
父節點
當前提交
18ce44f677

+ 1 - 1
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-11-19 17:41:44
+ // 日期: 2020-11-19 21:52:30
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_hero.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-11-19 17:38:25
+ // 日期: 2020-11-19 20:34:28
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_taskcard.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-11-19 17:32:06
+ // 日期: 2020-11-19 21:45:21
 ////////////////////
 
 

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

@@ -89,7 +89,7 @@ class TaskProc {
         }
         StlUtil::dictRemove($req->userInfo->game->store->taskcards, $taskCardUID); # 移除任务卡
         UserProc::updateUserInfo();                                             # 回存玩家数据
-        return Resp::ok(array('store' => $req->userInfo->game->store));         # 返回值更新背包
+        return Resp::ok(array('store' => $req->userInfo->game->store, 'taskCardUpdate' => $bUpdate));         # 返回值更新背包
     }
 
     /**