|
|
@@ -17,7 +17,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { rechargeRenewPay } from '@/api/recharge'
|
|
|
+import { getMerchantDetail } from '@/api/merchant/index'
|
|
|
export default {
|
|
|
name: "AppResult",
|
|
|
data () {
|
|
|
@@ -25,13 +25,19 @@ export default {
|
|
|
deadline: ''
|
|
|
}
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ this.getData()
|
|
|
+ },
|
|
|
methods: {
|
|
|
goClose () {
|
|
|
-
|
|
|
+ this.$util.pageTo({
|
|
|
+ url: '/admin/home/workbench',
|
|
|
+ type: 4
|
|
|
+ })
|
|
|
},
|
|
|
getData () {
|
|
|
- rechargeRenewPay().then(res => {
|
|
|
- console.log(res)
|
|
|
+ getMerchantDetail().then(res => {
|
|
|
+ console.log('res', res)
|
|
|
this.deadline = res.data.deadline
|
|
|
}).catch(err => { console.log(err) })
|
|
|
}
|