From c0a79612bcc282637bff62cf1e19e714a4d69b9d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 06 六月 2019 14:11:03 +0800
Subject: [PATCH] 6805 【后端】【2.0】副本前端化(妖王奖励物品ID支持配0)

---
 Tool/Robot/framework/frame.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Tool/Robot/framework/frame.py b/Tool/Robot/framework/frame.py
index c6f7623..43aad06 100644
--- a/Tool/Robot/framework/frame.py
+++ b/Tool/Robot/framework/frame.py
@@ -173,7 +173,7 @@
             # 数据库取出为unicode
             clientMac = "abc"
             
-            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]))
+            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]), str(result['AppID']))
             if account not in self.tokenList:
                 self.tokenList.append(account)
             
@@ -189,6 +189,9 @@
     def RemoveToken(self, value):
         self.tokenList.remove(value)
     
+    def ClearToken(self):
+        self.tokenList = []
+    
 class WorkerThread(Thread):
     def __init__(self, mgr, dbRobot ):
         Thread.__init__(self, None, None, "WorkerThreadPy")

--
Gitblit v1.8.0