mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-11 12:49:30 +08:00
1. 修复文章密码访问失效问题
This commit is contained in:
@@ -161,6 +161,19 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 校验文章访问密码
|
||||
*/
|
||||
checkPostPasswordAccess: (password, postId) => {
|
||||
return HttpHandler.Get(`/apis/tools.muyin.site/v1alpha1/visitPassword/checkPost?password=${password}`, null, {
|
||||
header: {
|
||||
'Authorization': HaloPluginsConfig.toolsPlugin.Authorization,
|
||||
'Wechat-Session-Id': uni.getStorageSync('openid'),
|
||||
'Post-Id': postId
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取文章验证码
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user