372 lines
8.2 KiB
Plaintext
372 lines
8.2 KiB
Plaintext
{
|
|
"nodes": [
|
|
{
|
|
"id": "1819f6006c105b97",
|
|
"type": "group",
|
|
"styleAttributes": {},
|
|
"x": -1247,
|
|
"y": 435,
|
|
"width": 798,
|
|
"height": 600,
|
|
"label": "Untitled group"
|
|
},
|
|
{
|
|
"id": "afec6eac97ddc232",
|
|
"type": "group",
|
|
"styleAttributes": {},
|
|
"x": -360,
|
|
"y": 80,
|
|
"width": 650,
|
|
"height": 140,
|
|
"label": "入口:OpenIM-API服务"
|
|
},
|
|
{
|
|
"id": "3c5b4941a138e482",
|
|
"type": "text",
|
|
"text": "系统",
|
|
"styleAttributes": {},
|
|
"x": -1200,
|
|
"y": 215,
|
|
"width": 97,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "027fda29d0beb7f6",
|
|
"type": "text",
|
|
"text": "OpenImUser",
|
|
"styleAttributes": {},
|
|
"x": -606,
|
|
"y": 335,
|
|
"width": 164,
|
|
"height": 60
|
|
},
|
|
{
|
|
"id": "d9c524b81ec25e69",
|
|
"type": "text",
|
|
"text": "租户",
|
|
"styleAttributes": {},
|
|
"x": -980,
|
|
"y": 215,
|
|
"width": 97,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "d145337e257371f1",
|
|
"type": "text",
|
|
"text": "子账户",
|
|
"styleAttributes": {},
|
|
"x": -790,
|
|
"y": 215,
|
|
"width": 109,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "81d539ef35a017ab",
|
|
"type": "text",
|
|
"text": "SystemUserId",
|
|
"styleAttributes": {},
|
|
"x": -815,
|
|
"y": 335,
|
|
"width": 160,
|
|
"height": 60
|
|
},
|
|
{
|
|
"id": "f4a8912e49eeec6c",
|
|
"type": "text",
|
|
"text": "#### <center>SPOL定制Gin.router</center>",
|
|
"styleAttributes": {},
|
|
"x": -348,
|
|
"y": 100,
|
|
"width": 301,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "d03b05fbdc2281bc",
|
|
"type": "text",
|
|
"text": "用户信息、状态对接",
|
|
"styleAttributes": {},
|
|
"x": -348,
|
|
"y": 160,
|
|
"width": 301,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "74bd85fccec6045f",
|
|
"type": "text",
|
|
"text": "#### <center>原Gin.router</center>",
|
|
"styleAttributes": {},
|
|
"x": -23,
|
|
"y": 100,
|
|
"width": 301,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "d0dd290062af2567",
|
|
"type": "text",
|
|
"text": "System\nSystemSecret",
|
|
"styleAttributes": {},
|
|
"x": -1253,
|
|
"y": 335,
|
|
"width": 203,
|
|
"height": 60
|
|
},
|
|
{
|
|
"id": "d2f84247eb18da62",
|
|
"type": "text",
|
|
"text": "通信对接",
|
|
"styleAttributes": {},
|
|
"x": -23,
|
|
"y": 160,
|
|
"width": 301,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "03552be7dcca965c",
|
|
"type": "text",
|
|
"text": "CyyUserToken,转换用户信息,生成token,建立token映射\n1. 解析并验证SystemId & SystemSecret\n2. 调UserToken生\n4. 缓存用户",
|
|
"styleAttributes": {},
|
|
"x": -911,
|
|
"y": 585,
|
|
"width": 442,
|
|
"height": 160
|
|
},
|
|
{
|
|
"id": "79d8c3c4e74c9625",
|
|
"type": "text",
|
|
"text": "ProxyWebSocketHandler",
|
|
"styleAttributes": {},
|
|
"x": -911,
|
|
"y": 911,
|
|
"width": 442,
|
|
"height": 104
|
|
},
|
|
{
|
|
"id": "1a6180a2a139feef",
|
|
"type": "text",
|
|
"text": "CyySystem用户的会话校验",
|
|
"styleAttributes": {},
|
|
"x": -815,
|
|
"y": 799,
|
|
"width": 250,
|
|
"height": 60
|
|
},
|
|
{
|
|
"id": "693a875b5ade1b67",
|
|
"type": "text",
|
|
"text": "HTTP",
|
|
"styleAttributes": {},
|
|
"x": -1179,
|
|
"y": 640,
|
|
"width": 112,
|
|
"height": 50
|
|
},
|
|
{
|
|
"id": "9017e0c1833cc977",
|
|
"type": "text",
|
|
"text": "1. 注册账户\n2. 帐户存在检查\n3. 更新用户信息\n4. 同步用户Token",
|
|
"styleAttributes": {},
|
|
"x": -1538,
|
|
"y": 610,
|
|
"width": 198,
|
|
"height": 110
|
|
},
|
|
{
|
|
"id": "348070443194b74c",
|
|
"type": "text",
|
|
"text": "Web\nSocket",
|
|
"styleAttributes": {},
|
|
"x": -1179,
|
|
"y": 941,
|
|
"width": 112,
|
|
"height": 47
|
|
},
|
|
{
|
|
"id": "aabfc53144faf7d6",
|
|
"type": "text",
|
|
"text": "同步系统用户Token\nparams\n* SystemId\n* SystemSecret\n* UserId\n* Token\n",
|
|
"styleAttributes": {},
|
|
"x": -1227,
|
|
"y": 455,
|
|
"width": 209,
|
|
"height": 155
|
|
},
|
|
{
|
|
"id": "ec55fc53ded7cc62",
|
|
"type": "text",
|
|
"text": "OpenIM Token验证. \n通过GinParseToken方法,验证Token,转换已登录的用户信息",
|
|
"styleAttributes": {},
|
|
"x": -23,
|
|
"y": 310,
|
|
"width": 301,
|
|
"height": 80,
|
|
"color": "4"
|
|
},
|
|
{
|
|
"id": "3f63f6ddf30bfa15",
|
|
"type": "text",
|
|
"text": "OpenIM Token生成\nrpc.Auth.UserToken()验证系统级别的secret,成功后为输入的用户创建一个token",
|
|
"styleAttributes": {},
|
|
"x": -23,
|
|
"y": 615,
|
|
"width": 301,
|
|
"height": 100,
|
|
"color": "4"
|
|
},
|
|
{
|
|
"id": "e1a130793c70044b",
|
|
"type": "text",
|
|
"text": "Secret from config",
|
|
"styleAttributes": {},
|
|
"x": -322,
|
|
"y": 320,
|
|
"width": 250,
|
|
"height": 60
|
|
},
|
|
{
|
|
"id": "38cf93dae65fd21f",
|
|
"type": "text",
|
|
"text": "LongConnectionHandler",
|
|
"styleAttributes": {},
|
|
"x": -23,
|
|
"y": 934,
|
|
"width": 250,
|
|
"height": 60,
|
|
"color": "4"
|
|
},
|
|
{
|
|
"id": "a9dcf0f03171a92f",
|
|
"type": "text",
|
|
"text": "WebSocket Handler",
|
|
"styleAttributes": {},
|
|
"x": -360,
|
|
"y": 934,
|
|
"width": 250,
|
|
"height": 60,
|
|
"color": "4"
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "a38587cea1fb24b3",
|
|
"fromNode": "81d539ef35a017ab",
|
|
"fromSide": "right",
|
|
"toNode": "027fda29d0beb7f6",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "56871e8f23867827",
|
|
"fromNode": "d9c524b81ec25e69",
|
|
"fromSide": "right",
|
|
"toNode": "d145337e257371f1",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "b4437f12459848b8",
|
|
"fromNode": "3c5b4941a138e482",
|
|
"fromSide": "right",
|
|
"toNode": "d9c524b81ec25e69",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "9d94a844b6341f44",
|
|
"fromNode": "3c5b4941a138e482",
|
|
"fromSide": "bottom",
|
|
"toNode": "d0dd290062af2567",
|
|
"toSide": "top"
|
|
},
|
|
{
|
|
"id": "7322046e8d8d562d",
|
|
"fromNode": "d145337e257371f1",
|
|
"fromSide": "bottom",
|
|
"toNode": "81d539ef35a017ab",
|
|
"toSide": "top"
|
|
},
|
|
{
|
|
"id": "3285eed2d86a2b7d",
|
|
"fromNode": "d145337e257371f1",
|
|
"fromSide": "right",
|
|
"toNode": "027fda29d0beb7f6",
|
|
"toSide": "top"
|
|
},
|
|
{
|
|
"id": "59a16da93d9b0128",
|
|
"fromNode": "03552be7dcca965c",
|
|
"fromSide": "right",
|
|
"toNode": "3f63f6ddf30bfa15",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "cb45ccf7e23892c1",
|
|
"fromNode": "693a875b5ade1b67",
|
|
"fromSide": "right",
|
|
"toNode": "03552be7dcca965c",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "bbbf27258fa8a712",
|
|
"fromNode": "9017e0c1833cc977",
|
|
"fromSide": "right",
|
|
"toNode": "693a875b5ade1b67",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "bacebe4a362a592f",
|
|
"fromNode": "a9dcf0f03171a92f",
|
|
"fromSide": "right",
|
|
"toNode": "38cf93dae65fd21f",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "fd8a60755ec645cf",
|
|
"fromNode": "79d8c3c4e74c9625",
|
|
"fromSide": "bottom",
|
|
"toNode": "38cf93dae65fd21f",
|
|
"toSide": "bottom"
|
|
},
|
|
{
|
|
"id": "d1403831a1694b5f",
|
|
"fromNode": "348070443194b74c",
|
|
"fromSide": "right",
|
|
"toNode": "79d8c3c4e74c9625",
|
|
"toSide": "left",
|
|
"label": "123"
|
|
},
|
|
{
|
|
"id": "af04b4dbba65b630",
|
|
"fromNode": "03552be7dcca965c",
|
|
"fromSide": "bottom",
|
|
"toNode": "1a6180a2a139feef",
|
|
"toSide": "top"
|
|
},
|
|
{
|
|
"id": "b5b29389f8e9b8e5",
|
|
"fromNode": "79d8c3c4e74c9625",
|
|
"fromSide": "top",
|
|
"toNode": "1a6180a2a139feef",
|
|
"toSide": "bottom"
|
|
},
|
|
{
|
|
"id": "1fc22f8680621202",
|
|
"fromNode": "aabfc53144faf7d6",
|
|
"fromSide": "bottom",
|
|
"toNode": "693a875b5ade1b67",
|
|
"toSide": "top"
|
|
},
|
|
{
|
|
"id": "a1bb2a309fcb956c",
|
|
"fromNode": "d0dd290062af2567",
|
|
"fromSide": "right",
|
|
"toNode": "81d539ef35a017ab",
|
|
"toSide": "left"
|
|
},
|
|
{
|
|
"id": "8735e44bc6af23a8",
|
|
"fromNode": "3f63f6ddf30bfa15",
|
|
"fromSide": "bottom",
|
|
"toNode": "1a6180a2a139feef",
|
|
"toSide": "right",
|
|
"label": "abc"
|
|
}
|
|
],
|
|
"metadata": {}
|
|
} |