profile.ts 272 B

123456
  1. import { postVisitorLog } from "@/service/agent";
  2. import { getLoginId, isSuccess } from "@/utils";
  3. export const postLog = (agentId: string, shareKey?: string) => {
  4. const loginId = getLoginId();
  5. postVisitorLog({ agentId: agentId, loginId, shareKey: shareKey ?? '' });
  6. }