<template>
	<view class="main">
		666
	</view>
</template>

<script>
	import { getStudentVoucher } from '@/config/api.js'
	export default {
		data() {
				return {
					orderId: ''
				}
			},
			onLoad(options) {
				if (options.orderId) {
					this.orderId = options.orderId
					this.getStudentVoucherFn()
				}
			},
			methods: {
				async getStudentVoucherFn() {
					let obj = {
						studentId: this.studentId,
						type: 1
					}
					const res = await getStudentVoucher(obj)
					console.log(res)
				}
			}
	}
</script>

<style>
</style>