Skip to content

在线激活

方法名

activeOnline

用法

示例

js
module.activeOnline({
  //激活码
  licenseKey: "9XHX-VKLY-3XBT-XVSE"
}, res => {
  this.writeLog(JSON.stringify(res))
});

参数说明

参数名参数类型是否必填默认值参数描述
licenseKeyString百度申请的激活码

回调

示例

json
{
  "data": {},
  "message": "",
  "code": 0
}

回调说明

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
codeInteger返回类型,0.成功,其他:失败