zhangdongming %!s(int64=3) %!d(string=hai) anos
pai
achega
afc2f30ffd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Controller/OTAEquipment.py

+ 2 - 2
Controller/OTAEquipment.py

@@ -545,9 +545,9 @@ def getNewVerInterface(request):
             expire = 3600 * 24 * 2 + 600 + now_stamp
 
             str_uuid = str(tko.userID)
-            if serial_number:
+            if serial_number and serial_number != 'null':
                 str_uuid += serial_number
-            elif uid:
+            elif uid and uid != 'null':
                 str_uuid += uid
             str_uuid += now_ver
             device_info_key = 'ASJ:SERVER:VERSION:{}'.format(str_uuid)