Package Exports
- mihome-sdk
- mihome-sdk/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mihome-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
米家SKD(MiHome_SDK)
介绍
入参手机号,密码,返回token和加密盐
使用方法
const {login,httpEncrypt} = require('mihome_sdk')
login('手机号','密码') //返回token,盐
httpEncrypt('api接口名','加密的数据','盐') //返回加密后的数据