fix: use WeChat profile authorization login

这个提交包含在:
Guoguo
2026-04-28 23:00:13 +08:00
父节点 444c91c0b0
当前提交 a1b189483f
修改 4 个文件,包含 1 行新增54 行删除
+1 -13
查看文件
@@ -23,16 +23,4 @@ function getObjectUrl(key, expiresSeconds) {
})
}
function getPutObjectUrl(key, contentType, expiresSeconds) {
return getClient().getObjectUrl({
Bucket: config.cos.bucket,
Region: config.cos.region,
Key: key,
Method: 'PUT',
Sign: true,
Expires: expiresSeconds || 600,
Headers: contentType ? { 'Content-Type': contentType } : undefined
})
}
module.exports = { getClient, getObjectUrl, getPutObjectUrl }
module.exports = { getClient, getObjectUrl }