UNPKG
egg-old-pay
Version:
latest (1.0.1)
1.0.1
1.0.0
sandan store pay inclued wechat alipay vista
github.com/eggjs/egg-sandan-pay
eggjs/egg-sandan-pay
egg-old-pay
/
test
/
fixtures
/
apps
/
sandan-pay-test
/
app
/
controller
/
home.js
12 lines
(8 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
const
Controller
=
require
(
'egg'
).
Controller
;
class
HomeController
extends
Controller
{
async
index
(
) {
this
.
ctx
.
body
=
'hi, '
+
this
.
app
.
plugins
.
sandanPay
.
name
; } }
module
.
exports
=
HomeController
;