Skip to content

Commit

Permalink
兑换码api地址
Browse files Browse the repository at this point in the history
  • Loading branch information
muchen committed May 14, 2022
1 parent 030a90b commit 50ae7e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/layout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ import { useRoute, useRouter } from 'vue-router'
const code = ref()
const showCode = ref(false)
const postCode = () => {
http.post('https://api-drive.mypikpak.com/vip/v1/order/free', {
activation_code: code.value
http.post('https://api-drive.mypikpak.com/vip/v1/order/activation-code', {
activation_code: code.value,
data: {}
})
.then(res => {
window.$message.success('兑换成功')
Expand Down

0 comments on commit 50ae7e2

Please sign in to comment.