Преглед изворни кода

Merge branch 'ZJZGJ' of http://www.sri-robot.cn:30000/SRI-DINO/Server-py into ZJZGJ

Casper пре 3 месеци
родитељ
комит
fb316bf9b9
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      sri-server-bg03/lib/Connection_e1.py

+ 2 - 1
sri-server-bg03/lib/Connection_e1.py

@@ -312,9 +312,10 @@ class SRIConnection(asyncio.Protocol):
 
         # --- send 4000
         object = protobuf.SCSign()
-        object.ret = ret
+        object.ret = ret  # 返回结果
         object.uid = self.connection_id
         object.name = name  # 人员名称
+        object.user_uuid = str(user.get('_id'))  # 人员唯一标识
         re_command_id = protobuf.SC_Sign  # 4000
         re_body_length = object.ByteSize()
         re_head_data = struct.pack(self.head_sequence, re_command_id, re_body_length)