Appearance
▸ getEventOpenId(): undefined | string
undefined
string
获取发起云函数请求的用户 openid
undefined | string
示例
import {createFaaS, getEventOpenId} from '@ifanrx/faas' export default createFaaS(() => { const unionId = getEventOpenId() return 'success' })
packages/faas/faas-utils.js