refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
exports.main = async function(event, context) {
|
||||
const res = await uniCloud.getPhoneNumber({
|
||||
appid: context.appId, // 替换成自己开通一键登录的应用的DCloud appid
|
||||
provider: 'univerify',
|
||||
access_token: event.access_token,
|
||||
openid: event.openid
|
||||
})
|
||||
// 执行入库等操作,正常情况下不要把完整手机号返回给前端
|
||||
return {
|
||||
errCode: 0,
|
||||
errMsg: '获取手机号成功',
|
||||
res: res
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "univerify",
|
||||
"dependencies": {},
|
||||
"extensions": {
|
||||
"uni-cloud-verify": {}
|
||||
},
|
||||
"origin-plugin-dev-name": "hello-uniapp-x",
|
||||
"origin-plugin-version": "1.0.44",
|
||||
"plugin-dev-name": "hello-uniapp-x",
|
||||
"plugin-version": "1.0.44"
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户