绑定支付宝,视频解锁生成订单增加限制

This commit is contained in:
GaoHao
2024-12-26 14:07:51 +08:00
parent 646379471f
commit 440811c3fa
6 changed files with 56 additions and 36 deletions

View File

@@ -245,7 +245,9 @@
}
// h5携带邀请码去首页
// #ifdef H5
this.erweima = config.APIHOST2 + '/?invitation=' + this
// this.erweima = config.APIHOST2 + '/?invitation=' + this
// .invitationCode + '&qdCode=' + this.qdCode
this.erweima = config.APIHOST2 + '/pages/login/registerApp/?invitation=' + this
.invitationCode + '&qdCode=' + this.qdCode
// #endif
// app直接去app注册页面

View File

@@ -54,16 +54,9 @@
},
toLogin() {
// console.log(this.zhiFuBao )
// console.log(this.zhiFuBaoName )
// const {
// zhiFuBao,
// zhiFuBaoName
// } = this;
let zhiFuBao = this.zhiFuBao
let zhiFuBaoName = this.zhiFuBaoName
console.log(zhiFuBao)
console.log(zhiFuBaoName)
if (!zhiFuBao) {
uni.showToast({
title: '请设置收款人姓名',
@@ -75,8 +68,10 @@
icon: 'none'
})
} else {
this.logining = true
this.$u.post('app/user/updateUser?zhiFuBao=' + zhiFuBao + '&zhiFuBaoName=' + zhiFuBaoName).then(
res => {
this.logining = false
console.log(res);
if(res.code===0){
uni.setStorageSync('zhiFuBao', zhiFuBao)