|
|
@@ -31,6 +31,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { rechargeRenew, rechargeRenewPay } from '@/api/recharge'
|
|
|
+import { getList } from '@/api/ghs'
|
|
|
import wexinPay from "@/utils/pay/wxPay";
|
|
|
export default {
|
|
|
name: 'recharge-renew',
|
|
|
@@ -45,6 +46,7 @@ export default {
|
|
|
methods: {
|
|
|
init () {
|
|
|
this._getDet()
|
|
|
+ this._getGhsList()
|
|
|
},
|
|
|
_getDet () {
|
|
|
rechargeRenew().then(res => {
|
|
|
@@ -52,6 +54,11 @@ export default {
|
|
|
this.initData = res.data
|
|
|
}).catch(err => { console.log(err) })
|
|
|
},
|
|
|
+ _getGhsList() {
|
|
|
+ getList().then(res => {
|
|
|
+ console.log(res, 58)
|
|
|
+ }).catch(err => {})
|
|
|
+ },
|
|
|
// 立即充值
|
|
|
onceRecharge () {
|
|
|
rechargeRenewPay().then(res => {
|