mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
智慧宿舍系统小程序
This commit is contained in:
8
wechat/cloudfunctions/echo/index.js
Normal file
8
wechat/cloudfunctions/echo/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const cloud = require('wx-server-sdk')
|
||||
|
||||
exports.main = async (event, context) => {
|
||||
// event.userInfo 是已废弃的保留字段,在此不做展示
|
||||
// 获取 OPENID 等微信上下文请使用 cloud.getWXContext()
|
||||
delete event.userInfo
|
||||
return event
|
||||
}
|
||||
Reference in New Issue
Block a user