mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-11-13 22:11:42 +08:00
refactor: 优化友链接口、页面样式与瞬间详情页代码
1. 更新友链分组接口的返回类型定义 2. 优化免责声明页、友链页的UI样式与代码结构 3. 简化小程序申请组件的表单内边距与弹窗绑定逻辑 4. 重构瞬间详情页的代码缩进与页面布局
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ import type {
|
||||
ICommentListReq,
|
||||
ICommentListRes,
|
||||
ILink,
|
||||
ILinkGroupListRes,
|
||||
ILinkGroup,
|
||||
ILinkListRes,
|
||||
IMoment,
|
||||
IMomentListReq,
|
||||
@@ -243,7 +243,7 @@ export function getPhotoListByGroupName(params: IPhotoListReq) {
|
||||
* 友链分组列表
|
||||
*/
|
||||
export function getFriendLinkGroupList(params: ICategoryListReq) {
|
||||
return http.Get<IResponse<ILinkGroupListRes>>('/apis/api.link.halo.run/v1alpha1/linkgroups', {
|
||||
return http.Get<IResponse<Array<ILinkGroup>>>('/apis/api.link.halo.run/v1alpha1/linkgroups', {
|
||||
params,
|
||||
meta: { requestFrom: RequestFrom.Halo },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user