前端组件获取code:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
// 根据 code 获取手机号码,返回数组
$result = $app->phone_number->getUserPhoneNumber($code)
前端组件获取code:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
// 根据 code 获取手机号码,返回数组
$result = $app->phone_number->getUserPhoneNumber($code)