import{aS as l}from"./index.17037962789732.js";import"./index.1703796278973315.js";import{a as n}from"./comm.1703796278973.js";import{d as _,o as i,x as r,z as o,b as d,u as c,G as u,H as h,t as a}from"./vue.1703796278973.js";import{_ as p}from"./_plugin-vue_export-helper.1703796278973.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";const t=e=>(u("data-v-4b20875e"),e=e(),h(),e),m={class:"doc"},v=t(()=>o("div",{class:"url"},[a(" 小度智能家居开放平台： "),o("a",{href:"https://dueros.baidu.com/dbp/bot/index#/iotopenplatform",target:"_blank",rel:"noopener noreferrer"}," https://dueros.baidu.com/dbp/bot/index#/iotopenplatform ")],-1)),g=t(()=>o("h1",null,"1. 概述",-1)),S=t(()=>o("div",null," DuerOS支持家居场景下的云端控制，该页面主要将平台的产品与DuerOS支持语音控制的产品进行映射，以到达小度平台控制本平台设备的目的。 ",-1)),f=t(()=>o("h1",null,"2. 操作步骤",-1)),b=t(()=>o("h2",null,"1、在百度小度技能平台创建技能，并授权。完成物联网平台与DuerOS的关联。",-1)),D={class:"image"},x=t(()=>o("h1",null,"授权地址",-1)),I=t(()=>o("div",null,"物联网平台的登录地址。注意需要为https。",-1)),O=t(()=>o("div",null,"请复制并填写: https://{location.host}/#/user/login",-1)),k=t(()=>o("h1",null,"Client_Id",-1)),w=t(()=>o("div",null,"请填写系统管理-应用管理中的clientId。",-1)),y={class:"image"},T=t(()=>o("h1",null,"回调地址",-1)),B=t(()=>o("div",null,"请复制DuerOS平台中的值，填写到系统管理-应用管理中-redirectUrl中。",-1)),C={class:"image"},N=t(()=>o("h1",null,"Token地址",-1)),P=t(()=>o("div",null,"请复制并填写：HTTPS://{location.host}/api/v1/token",-1)),V=t(()=>o("h1",null,"ClientSecret",-1)),j=t(()=>o("div",null,"请复制系统管理-应用管理中的secureKey，填写到DuerOS平台。",-1)),H={class:"image"},q=t(()=>o("div",null,null,-1)),z=t(()=>o("h1",null,"WebService",-1)),A=t(()=>o("div",null,"请复制并填写：/dueros/product/_query",-1)),E=t(()=>o("h2",null,"2、登录物联网平台，进行平台内产品与DuerOS产品的数据映射。",-1)),G=t(()=>o("h2",null," 3、智能家居用户通过物联网平台中的用户，登录小度APP，获取平台内当前用户的所属设备。获取后即可进行语音控制。 ",-1)),K=t(()=>o("h1",null,"3. 配置说明",-1)),U=t(()=>o("div",null,[o("h2",null," 1、“设备类型”为DuerOS平台拟定的标准规范，设备类型将决定【动作映射】中“动作”的下拉选项，以及【属性映射】中“Dueros属性”的下拉选项 ")],-1)),W=_({__name:"doc",setup(e){return(F,J)=>{const s=l;return i(),r("div",m,[v,g,S,f,o("div",null,[b,o("div",D,[d(s,{width:"100%",src:c(n)("/cloud/dueros-doc.jpg")},null,8,["src"])]),x,I,O,k,w,o("div",y,[d(s,{width:"100%",src:c(n)("/cloud/dueros-doc1.png")},null,8,["src"])]),T,B,o("div",C,[d(s,{width:"100%",src:c(n)("/cloud/dueros-doc2.png")},null,8,["src"])]),N,P,V,j,o("div",H,[d(s,{width:"100%",src:c(n)("/cloud/dueros-doc3.png")},null,8,["src"])]),q,z,A,E,G]),K,U])}}});const so=p(W,[["__scopeId","data-v-4b20875e"]]);export{so as default};
