This commit is contained in:
2024-09-10 10:49:08 +08:00
parent b5fd06b800
commit dd4f5938da
6391 changed files with 722800 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
'use strict';
const uniPush = uniCloud.getPushManager({
appId: "__UNI__71D61A3"
})
exports.main = async (event, context) => {
//event为客户端上传的参数
const body = JSON.parse(event.body)
console.log('入参', {
cids: body.cids
});
const data = await uniPush.getDeviceStatusByCid(body.cids)
//返回数据给客户端
return data
};

View File

@@ -0,0 +1,7 @@
{
"name": "queryCids",
"dependencies": {},
"extensions": {
"uni-cloud-push": {}
}
}