@cmux/base-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.2.5 • Public • Published

使用

import BaseSDK from 'base-sdk';

const router = new KoaRouter();
router.use(
    new BaseSDK(XXX, {
        // base host。默认127.0.0.1
        host: '127.0.0.1:3001',

        // api自定义
        api: {
            login_douyin_mini_game: 'login/douyin/mini_game'
        }
    })
    .router()
    .koaRouter.Login.routes(),
);

Readme

Keywords

none

Package Sidebar

Install

npm i @cmux/base-sdk

Weekly Downloads

1

Version

1.2.5

License

none

Unpacked Size

86.2 kB

Total Files

78

Last publish

Collaborators

  • shuli495
  • dongwenxiao
  • diablohu