0.1.0 • Published 3 years ago

@flexem/account v0.1.0

Weekly downloads
-
License
ACCOUNT
Repository
github
Last release
3 years ago

子系统对接账户

npm install @flexem/account
或者
yarn add @flexem/account

Examples:

  const initLoad = new Init({
    authUrl: appconst.idsServiceUrl,  // eg:http://ids.testflexem.net:9080
    subSystemName: ''  //子系统名称
    loginUrl:'' //首页跳转url
  });
  // 获取用户登录的用户信息
  initLoad.getCurrentUser().then((res: any) => {
    console.log(res);
  });
  // 自动刷新token
  initLoad.init();
getCookie(cookieName: string, defaultValue = '');
setCookie(domain:string, cookieName: string, value: string, defaultDays = 90); 
removeCookie(domain:string, cookieName: string);
0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago