[本时生活h5端]

This commit is contained in:
2023-06-21 17:19:58 +08:00
commit ebb9575bd0
284 changed files with 39689 additions and 0 deletions

37
pages/payView/payView.vue Normal file
View File

@@ -0,0 +1,37 @@
<template>
<view class="content"></view>
</template>
<script>
import { wechatCode } from '@/apis/interfaces/authUrl'
export default {
data() {
return {
}
},
onLoad(options) {
// 获取微信code
wechatCode({
code: options.code
}).then(res => {
this.$store.commit('setOpenId', res.openid)
this.$Router.push({
name: this.$Route.query.pageName
})
}).catch(err => {
uni.showToast({
title: err.message,
icon: "none"
})
})
},
onShow() {
},
methods: {}
}
</script>
<style lang="scss" scoped>
</style>