1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 05:09:29 +08:00

1. 优化密码访问,实现联动插件动态启用关闭;

2. 文章海报分享支持动态小程序码;
3. 支持扫描文章海报跳转指定文章详情;
This commit is contained in:
liuyiwuqing
2024-08-02 15:28:50 +08:00
parent ff31e0d8e8
commit 52d4b7927b
3 changed files with 61 additions and 13 deletions
+12
View File
@@ -200,5 +200,17 @@ export default {
*/
submitLink(form) {
return HttpHandler.Post(`/apis/linksSubmit.muyin.site/v1alpha1/submit`, form, null)
},
/**
* 获取二维码信息
*/
getQRCodeInfo: (key) => {
return HttpHandler.Get(`/apis/api.uni.uhalo.pro/v1alpha1/plugins/plugin-uni-halo/getQRCodeInfo/${key}`, null,)
},
/**
* 获取二维码图片
*/
getQRCodeImg: (postId) => {
return HttpHandler.Get(`/apis/api.uni.uhalo.pro/v1alpha1/plugins/plugin-uni-halo/getQRCodeImg/${postId}`, null,)
}
}