Skip to content

Commit

Permalink
fix: shouyinchengchannel cType
Browse files Browse the repository at this point in the history
  • Loading branch information
AvantLiu committed Sep 13, 2021
1 parent 610c1f2 commit 442bee6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/dgiot_shouyincheng/src/dgiot_shouyincheng_channel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
-module(dgiot_shouyincheng_channel).
-behavior(dgiot_channelx).
-author("johnliu").
-include_lib("dgiot_bridge/include/dgiot_bridge.hrl").
-include("dgiot_shouyincheng.hrl").
-include_lib("dgiot/include/logger.hrl").
-define(TYPE, <<"YONGKANG">>).
Expand All @@ -26,9 +27,9 @@
-export([init/3, handle_init/1, handle_event/3, handle_message/2, stop/3]).

%% 注册通道类型
-channel(?TYPE).
-channel_type(#{
type => 1,
cType => ?TYPE,
type => ?PROTOCOL_CHL,
title => #{
zh => <<"收银秤通道"/utf8>>
},
Expand Down

0 comments on commit 442bee6

Please sign in to comment.