Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
fb77d35d
Commit
fb77d35d
authored
Oct 13, 2025
by
劳琪峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修复登录后没有助力的问题3
parent
a7cb8c41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
api.ts
activities/1015/api.ts
+2
-2
InviteTask.vue
activities/1015/components/InviteTask.vue
+1
-2
No files found.
activities/1015/api.ts
View file @
fb77d35d
...
...
@@ -26,8 +26,8 @@ export function fetchLotteryConfig (){
* 获取邀请助力组件信息
* @returns
*/
export
function
fetchInvitationInfo
(
unionId
:
string
){
return
api
.
post
(
'/c/activity/use_invite_101/invitation/home'
,
{
wxUnionId
:
unionId
}
)
as
Promise
<
CodeResponse
<
InvitationInfo
>>
export
function
fetchInvitationInfo
(){
return
api
.
post
(
'/c/activity/use_invite_101/invitation/home'
)
as
Promise
<
CodeResponse
<
InvitationInfo
>>
}
/**
...
...
activities/1015/components/InviteTask.vue
View file @
fb77d35d
...
...
@@ -40,8 +40,7 @@ const inviteBtnProperties = computed(() => {
})
async
function
updateInvitationInfo
()
{
const
unionId
=
uni
.
getStorageSync
(
'unionId'
);
const
resp
=
await
fetchInvitationInfo
(
unionId
)
const
resp
=
await
fetchInvitationInfo
()
return
invitationInfo
.
value
=
resp
.
data
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment