소스 검색

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)