service.ts 686 B

123456789101112131415161718192021222324
  1. // Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
  2. // This file is automatically generated. DO NOT EDIT
  3. /**
  4. * Service struct
  5. * @module
  6. */
  7. // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  8. // @ts-ignore: Unused imports
  9. import {Call as $Call, Create as $Create} from "@wailsio/runtime";
  10. /**
  11. * CloseApp 根据名称关闭窗口
  12. */
  13. export function CloseApp(winName: string): Promise<void> & { cancel(): void } {
  14. let $resultPromise = $Call.ByID(730210805, winName) as any;
  15. return $resultPromise;
  16. }
  17. export function OpenLoginPage(): Promise<void> & { cancel(): void } {
  18. let $resultPromise = $Call.ByID(2845654948) as any;
  19. return $resultPromise;
  20. }