解决支付宝错误

This commit is contained in:
wanyongkang
2020-10-12 18:08:24 +08:00
parent 3a4bfb28eb
commit 20474cd13f
11 changed files with 154 additions and 16 deletions

View File

@@ -0,0 +1,60 @@
@{
Layout = "_Layout";
}
<div id="app" style="margin-top: 10%;">
<table class="table">
<caption>提现管理</caption>
<thead>
<tr>
<th>提现金额</th>
<th>支付宝账号</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<tr v-for="info in tableData">
<td>{{info.money}}</td>
<td>{{info.alipay_account}}</td>
<td>{{info.status}}</td>
</tr>
</tbody>
</table>
</div>
<script>
var vm = new Vue({
el:'#app',
data:{
tableData: [],
},
created:function(){
this.post();
},
methods:{
post:function(){
var param = [];
let cashOutData = {
cookie:document.cookie
}
$.ajax({
type: 'POST',
async:false,
url: 'http://autophp.wyk/order/index/getData',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(cashOutData),
beforeSend: function(xhr) {
xhr.withCredentials = true;
},
crossDomain: true,
success: function (res) {
if (res.Code == 10000) {
param = res.data;
}
}
});
this.tableData = param;
}
}
});
</script>

View File

@@ -15,5 +15,6 @@
<li><img src="~/m/img/p2.png"><a asp-action="myrefundorders" asp-controller="user">退货订单<img src="~/m/img/arrow.png"></a></li>
<li><img src="~/m/img/p3.png"><a asp-action="myaccounts" asp-controller="user">PPTP账号管理<img src="~/m/img/arrow.png"></a></li>
<li><img src="~/m/img/p4.png"><a asp-action="mycoupons" asp-controller="user">我的优惠券<img src="~/m/img/arrow.png"></a></li>
@* <li><img src="~/m/img/p4.png"></span><a asp-action="cashout" asp-controller="user">提现管理<img src="~/m/img/arrow.png"></a></li> *@
</ul>

View File

@@ -112,7 +112,7 @@
<div class="accout_tit">
<span class="lineBar"></span>余额
<button class="btnXq" onclick="$('#chargeBox').show()">充值</button>
<button class="btnXq" onclick="$('#cash-out').show()">提现</button>
@* <button class="btnXq" onclick="$('#cash-out').show()">提现</button> *@
</div>
<div class="model">
<div class="item">