fix: add dgiot

This commit is contained in:
jhonliu 2022-06-10 12:28:28 +08:00
parent d3dcba0a14
commit 9512780b79
2 changed files with 5 additions and 5 deletions

View File

@ -27,12 +27,12 @@ wechat.secret = 0c8b9e229ebe48c6878727a9d2e0263d
tencent_sms.appid = 1400214975 tencent_sms.appid = 1400214975
tencent_sms.appkey = 25c8c3a4d17367a8232931ff54d114a2 tencent_sms.appkey = 25c8c3a4d17367a8232931ff54d114a2
tencent_sms.tmplid = 340847 tencent_sms.tmplid = 340847
tencent_sms.sign = 数蛙科技 tencent_sms.sign = dgiot
# jwt # jwt
jwt.algorithm = rs256 jwt.algorithm = rs256
# 是否桥接 # 是否桥接
isbridge = false dgiot_api.isbridge = false
# 是否桥接 # 是否桥接
bridge_url = https://prod.iotn2n.com dgiot_api.bridge_url = https://prod.iotn2n.com

View File

@ -100,12 +100,12 @@
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% bridge %% bridge
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
{mapping, "isbridge", "dgiot_http.isbridge", [ {mapping, "dgiot_api.isbridge", "dgiot_http.isbridge", [
{default, true}, {default, true},
{datatype, {enum, [true, false]}} {datatype, {enum, [true, false]}}
]}. ]}.
{mapping, "bridge_url", "dgiot_http.bridge_url", [ {mapping, "dgiot_api.bridge_url", "dgiot_http.bridge_url", [
{default, "https://prod.iotn2n.com"}, {default, "https://prod.iotn2n.com"},
{datatype, string} {datatype, string}
]}. ]}.