@nger/fk-upload 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ export declare class LoginController {
5
5
  cookies: Map<string, Map<string, string>>;
6
6
  constructor(db: Db);
7
7
  login(loginId: string, ctx: Context): Promise<any>;
8
- relogin(token: string, loginId: string, ctx: Context): Promise<"login success" | undefined>;
8
+ relogin(token: string, loginId: string, ctx: Context): Promise<"login fail : username or password error" | undefined>;
9
9
  private tryLogin;
10
10
  logDog(arg0: number, arg1: number): void;
11
11
  private loginSuccess;
@@ -93,7 +93,7 @@ let LoginController = class LoginController {
93
93
  return;
94
94
  }
95
95
  }
96
- return `login success`;
96
+ return `login fail : username or password error`;
97
97
  }
98
98
  async tryLogin(map, data) {
99
99
  return await axios_1.default.post(`https://adm.webportal.top/ajax/login_h.jsp?cmd=loginCorp`, this.toUrl(data), {
package/dist/main.js CHANGED
@@ -45,7 +45,9 @@ AppModule = __decorate([
45
45
  })
46
46
  ], AppModule);
47
47
  exports.AppModule = AppModule;
48
- (0, core_1.platformCore)().bootstrap(AppModule);
48
+ (0, core_1.platformCore)().bootstrap(AppModule).then(() => {
49
+ process.send('ready');
50
+ });
49
51
  process.on('uncaughtException', (err) => {
50
52
  console.log(err.message);
51
53
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "dist/core.js",
6
6
  "types": "dist/core.d.ts",