微信登录日志

This commit is contained in:
2026-07-07 17:17:03 +08:00
parent 2c74f6a08c
commit 7e3c0011bb
4 changed files with 146 additions and 17 deletions
@@ -5,6 +5,11 @@ export type WechatActorRef = {
refId: bigint;
};
export function wechatActorRefFromAuth(actorType?: string, actorId?: bigint): WechatActorRef | undefined {
if (!actorType || actorId == null) return undefined;
return { refType: actorType, refId: actorId };
}
type LogWechatAuthInput = {
scene: string;
requestUrl?: string;