网友回复苏军:客户端调用云函数的时候本身就有用户态,直接在云函数里面就能拿到当前调用用户的openid的铅笔画不出蜡笔的味道:https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/functions/userinfo.html