Commit f02d51b9 authored by qinhaitao's avatar qinhaitao

feat: 🎸 docs

parent 64737a39
...@@ -9,6 +9,7 @@ export const initCustomUserWhenLogin = (context: IContext<IParams>, activityInfo ...@@ -9,6 +9,7 @@ export const initCustomUserWhenLogin = (context: IContext<IParams>, activityInfo
} }
} }
// login接口 更新用户时, 多用于当天第一次登陆的逻辑
export const updateUserWhenLogin = ( export const updateUserWhenLogin = (
context: IContext<IParams>, context: IContext<IParams>,
activityInfo: IActivityInfo, activityInfo: IActivityInfo,
...@@ -23,7 +24,6 @@ export const updateUserWhenLogin = ( ...@@ -23,7 +24,6 @@ export const updateUserWhenLogin = (
const firstLoginToday = !userInfo?.login?.[today] const firstLoginToday = !userInfo?.login?.[today]
if (firstLoginToday) { if (firstLoginToday) {
} }
return projection return projection
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment