فهرست منبع

feat: 定义客户端调用

cuiyalong 10 ماه پیش
والد
کامیت
262ff8c63d
2فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 4 0
      frontend/wailsjs/go/main/App.d.ts
  2. 8 0
      frontend/wailsjs/go/main/App.js

+ 4 - 0
frontend/wailsjs/go/main/App.d.ts

@@ -26,6 +26,10 @@ export function SelectOpenFilePath():Promise<string>;
 
 export function SelectSaveFilePath():Promise<string>;
 
+export function ServerActionCheckLogin():Promise<{[key: string]: any}>;
+
+export function ServerActionCodeList(arg1:{[key: string]: any}):Promise<{[key: string]: any}>;
+
 export function ServerActionUserLogin(arg1:{[key: string]: any}):Promise<{[key: string]: any}>;
 
 export function StopDebugSpider():Promise<string>;

+ 8 - 0
frontend/wailsjs/go/main/App.js

@@ -50,6 +50,14 @@ export function SelectSaveFilePath() {
   return window['go']['main']['App']['SelectSaveFilePath']();
 }
 
+export function ServerActionCheckLogin() {
+  return window['go']['main']['App']['ServerActionCheckLogin']();
+}
+
+export function ServerActionCodeList(arg1) {
+  return window['go']['main']['App']['ServerActionCodeList'](arg1);
+}
+
 export function ServerActionUserLogin(arg1) {
   return window['go']['main']['App']['ServerActionUserLogin'](arg1);
 }