UNPKG
cn-pay
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
a alipay wechat pay lib
github.com/shmy/cn-pay
cn-pay
/
src
/
wechat
/
gateways
/
miniapp.gateway.js
13 lines
(10 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
const
mpGateway =
require
(
'./mp.gateway'
);
module
.
exports
=
class
extends
mpGateway {
getAppId
(
) {
return
this
.
config
.
miniapp_id
; }
getTradeType
(
) {
return
'JSAPI'
; } };