fix: serverless adapter binary body support, hide phone number in register

- Keep body as Buffer instead of utf8 string for multipart/form-data
- Set content-length header for multer compatibility
- Phone authorization shows '已授权' instead of actual number
这个提交包含在:
Guoguo
2026-05-07 05:58:41 -07:00
父节点 8427d35fb3
当前提交 9019573662
修改 2 个文件,包含 10 行新增3 行删除
+1 -1
查看文件
@@ -57,7 +57,7 @@ Page({
http.post('/api/v1/user/phone', { code: e.detail.code }).then(function (data) {
self.setData({
loading: false,
phone: data.phone || data.pure_phone_number || '已授权'
phone: '已授权'
})
wx.showToast({ title: '手机号授权成功', icon: 'success' })
}).catch(function (err) {