Merge remote-tracking branch 'origin/feature/mall_product' into feature/mall_product_new
commit
ea288188e8
|
@ -135,6 +135,8 @@ public class WxPayNotifyController {
|
||||||
log.error("支付金额不匹配,订单实际支付金额:{},微信入参验证金额:{}", orderDO.getPayPrice(), payerTotal);
|
log.error("支付金额不匹配,订单实际支付金额:{},微信入参验证金额:{}", orderDO.getPayPrice(), payerTotal);
|
||||||
return "failure";
|
return "failure";
|
||||||
}
|
}
|
||||||
|
orderDO.setRefundStatus(2);
|
||||||
|
rechargeOrderMapper.updateById(orderDO);
|
||||||
// 修改订单状态
|
// 修改订单状态
|
||||||
// 写入
|
// 写入
|
||||||
response.setStatus(HttpServletResponse.SC_OK);
|
response.setStatus(HttpServletResponse.SC_OK);
|
||||||
|
|
|
@ -9,10 +9,9 @@ import cn.iocoder.yudao.module.system.controller.admin.tenant.vo.tenant.*;
|
||||||
import cn.iocoder.yudao.module.system.convert.tenant.TenantConvert;
|
import cn.iocoder.yudao.module.system.convert.tenant.TenantConvert;
|
||||||
import cn.iocoder.yudao.module.system.dal.dataobject.tenant.TenantDO;
|
import cn.iocoder.yudao.module.system.dal.dataobject.tenant.TenantDO;
|
||||||
import cn.iocoder.yudao.module.system.service.tenant.TenantService;
|
import cn.iocoder.yudao.module.system.service.tenant.TenantService;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
||||||
import io.swagger.v3.oas.annotations.Parameter;
|
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import me.chanjar.weixin.mp.api.WxMpService;
|
import io.swagger.v3.oas.annotations.Parameter;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
@ -23,7 +22,6 @@ import javax.validation.Valid;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.time.temporal.ChronoUnit;
|
import java.time.temporal.ChronoUnit;
|
||||||
import java.time.temporal.TemporalUnit;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
|
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
|
||||||
|
|
|
@ -31,15 +31,14 @@
|
||||||
id: 0
|
id: 0
|
||||||
},
|
},
|
||||||
onLaunch: function(option) {
|
onLaunch: function(option) {
|
||||||
const res = memberGradeInfo().then((res) =>{
|
// const res = memberGradeInfo().then((res) =>{
|
||||||
if(res.data.some((item) => !!parseInt(item.isExist))){
|
// if(res.data.some((item) => !!parseInt(item.isExist))){
|
||||||
uni.setTabBarItem({
|
// uni.setTabBarItem({
|
||||||
index: 2,
|
// index: 2,
|
||||||
text: 'text',
|
// pagePath: '/pages/member_equity/index'
|
||||||
pagePath: '/pages/member_equity/index'
|
// })
|
||||||
})
|
// }
|
||||||
}
|
// })
|
||||||
})
|
|
||||||
|
|
||||||
let that = this;
|
let that = this;
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
|
|
|
@ -88,9 +88,10 @@
|
||||||
},
|
},
|
||||||
function(res) {
|
function(res) {
|
||||||
if (res.err_msg == "get_brand_wcpay_request:ok") {
|
if (res.err_msg == "get_brand_wcpay_request:ok") {
|
||||||
uni.switchTab({
|
window.location.reload()
|
||||||
url: '/pages/member_application/index'
|
// uni.switchTab({
|
||||||
})
|
// url: '/pages/member_application/index'
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,6 +101,15 @@
|
||||||
},
|
},
|
||||||
async onLoad() {
|
async onLoad() {
|
||||||
const res = await memberGradeInfo()
|
const res = await memberGradeInfo()
|
||||||
|
if(res.data.some((item) => !!parseInt(item.isExist))){
|
||||||
|
uni.setTabBarItem({
|
||||||
|
index: 2,
|
||||||
|
pagePath: '/pages/member_equity/index'
|
||||||
|
})
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/member_equity/index'
|
||||||
|
})
|
||||||
|
}
|
||||||
this.memberData = res.data
|
this.memberData = res.data
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -235,13 +244,12 @@
|
||||||
|
|
||||||
.box-title {
|
.box-title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -5.5%;
|
top: -37rpx;
|
||||||
left: -203rpx;
|
left: -203rpx;
|
||||||
margin-left: 50%;
|
margin-left: 50%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 406rpx;
|
width: 406rpx;
|
||||||
height: 87rpx;
|
height: 88rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -399,13 +407,13 @@
|
||||||
|
|
||||||
.box-title {
|
.box-title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -9%;
|
top: -37rpx;
|
||||||
left: -203rpx;
|
left: -203rpx;
|
||||||
margin-left: 50%;
|
margin-left: 50%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 406rpx;
|
width: 406rpx;
|
||||||
height: 87rpx;
|
height: 88rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -141,7 +141,7 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.box-member {
|
.box-member {
|
||||||
padding: 36rpx 40rpx;
|
padding: 36rpx 40rpx;
|
||||||
|
|
|
@ -247,13 +247,13 @@
|
||||||
|
|
||||||
.box-title {
|
.box-title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -5.5%;
|
top: -37rpx;
|
||||||
left: -203rpx;
|
left: -203rpx;
|
||||||
margin-left: 50%;
|
margin-left: 50%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 406rpx;
|
width: 406rpx;
|
||||||
height: 87rpx;
|
height: 88rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.memberData = arr
|
this.memberData = arr
|
||||||
console.log(this.memberData)
|
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
keyword :Debounce (function (){
|
keyword :Debounce (function (){
|
||||||
|
|
|
@ -223,13 +223,13 @@ import store from '@/store/index';
|
||||||
|
|
||||||
.box-title {
|
.box-title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -5.5%;
|
top: -37rpx;
|
||||||
left: -203rpx;
|
left: -203rpx;
|
||||||
margin-left: 50%;
|
margin-left: 50%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 406rpx;
|
width: 406rpx;
|
||||||
height: 87rpx;
|
height: 88rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in New Issue