This commit is contained in:
anlicheng 2025-10-13 17:35:45 +08:00
parent a0dd69fa13
commit 37858ea7a0
2 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,10 @@
**创建时间**2020-04-26
**说明**:提供容器的部署、配置、启动、停止、查询等管理 API 接口。
---
## 服务器地址
http://127.0.0.1:18090
---
## 📦 模块结构
| 模块 | 说明 |

View File

@ -92,7 +92,7 @@ handle_cast({jsonrpc_call, ReceiverPid, Ref, CallBin}, State = #state{transport
%% auth验证
handle_info({tcp, Socket, <<?PACKET_REQUEST, PacketId:32, RequestBin/binary>>}, State = #state{transport = Transport, socket = Socket}) ->
{ok, #auth_request{ uuid = UUID, username = Username, token = Token, salt = Salt, timestamp = Timestamp}} = message_codec:decode(RequestBin),
{ok, #auth_request{uuid = UUID, username = Username, token = Token, salt = Salt, timestamp = Timestamp}} = message_codec:decode(RequestBin),
lager:debug("[ws_channel] auth uuid: ~p", [UUID]),
case iot_auth:check(Username, Token, UUID, Salt, Timestamp) of
true ->