简要描述:

    • 添加产品的看门狗配置

    请求URL:

    • [http://120.26.60.111:10000/v1/api/dongle/add](http://127.0.0.1:9090/v1/api/device/add)

    请求方式:

    • POST/JSON

    参数:

    参数名 必选 类型 说明
    productKey string 产品Key,6位长度
    period int 看门狗读写周期,单位:毫秒
    formula int 加密公式,1:y=axx+b*x+c
    status int 看门狗状态,1:开启(默认)、0:关闭
    params string 看门狗的因子,本例中的a,b,c,x,y的因子配置,json数组格式。

    返回示例

    1. {
    2. "code": 10000,
    3. "msg": "ok",
    4. "data": null
    5. }