const redis = uniCloud.redis()
module.exports = {
_before: function () { // 通用预处理器
},
/**
* 更新puchClientId到redis缓存
* @param {string} param 参数1描述
* @returns {object} 返回值描述
*/
async save_push_client_id_to_redis(params) {
let test = await redis.set("123","456")
console.log(test)
let redisRes = await redis.get('123')
console.log(redisRes)
// 返回结果
return {
errCode: 0,
errMsg: 'success'
}
},
}
q***@qq.com (作者)
试下alpha版本,印象中是解决了
2024-04-04 21:07
xjr
回复 q***@qq.com: 先不用小程序云了 这种问题说实话有点离谱
2024-04-06 22:30