随手精灵小程序,单独为了获取WIFI信息加强围栏告警功能能力
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 line
261B

  1. const cloud = require('wx-server-sdk')
  2. exports.main = async (event, context) => {
  3. // event.userInfo 是已废弃的保留字段,在此不做展示
  4. // 获取 OPENID 等微信上下文请使用 cloud.getWXContext()
  5. delete event.userInfo
  6. return event
  7. }