|
@@ -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)
|