nestjs-wechat-open-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

NESTJS WECHAT OPEN API

基于 wechat-open-api 封装用于 nestjs 的微信生态服务端接口

使用

导入模块:

import { WechatAppModule } from 'nestjs-wechat-open-api'

@Module({
  imports: [
    WechatAppModule.forRoot({ appid: '', secret: '' })
  ]
})

使用:

import { WechatAppService } from 'nestjs-wechat-open-api'

@Injectable()
export class UserService {
  constructor(private readonly wechatAppService: WechatAppService) {}
}

使用文档

License

MIT

Package Sidebar

Install

npm i nestjs-wechat-open-api

Weekly Downloads

1

Version

0.1.5

License

MIT

Unpacked Size

18.5 kB

Total Files

21

Last publish

Collaborators

  • wytxer