nestjs-wechat-open-api
v0.1.5
Published
基于 wechat-open-api 封装用于 nestjs 的微信生态服务端接口
Downloads
7
Maintainers
Readme
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) {}
}