Commit 804b0223 by 冷斌

fix bug

parent 352b4abd
......@@ -39,19 +39,6 @@ class ProfitController extends HomebaseController
$this->display();
}
public function withdraw()
{
$uid=I("uid");
$token=I("token");
if(checkToken($uid,$token)==700){
$this->assign("reason",'您的登陆状态失效,请重新登陆!');
$this->display(':error');
exit;
}
$this->display();
}
public function info()
{
$uid=I("uid");
......@@ -141,6 +128,27 @@ class ProfitController extends HomebaseController
echo json_encode(array("ret"=>200,'data'=>$data,'msg'=>''));
die;
}
public function withdraw()
{
$uid=I("uid");
$token=I("token");
if(checkToken($uid,$token)==700){
$this->assign("reason",'您的登陆状态失效,请重新登陆!');
$this->display(':error');
exit;
}
$this->display();
}
}
......@@ -9,8 +9,8 @@
<div class="sfrz">
<!-- 状态 -->
<!-- <div class="statusOne">正在审核中,请耐心等待</div> -->
<div class="statusTwo">审核失败,请重新填写!</div>
<div v-if="status==0" class="statusOne">正在审核中,请耐心等待</div>
<div v-if="status==2" class="statusTwo">审核失败,请重新填写!</div>
<!-- 上传身份证 -->
<div class="part">
<div class="part_name">上传身份证</div>
......@@ -101,7 +101,6 @@
'bank_card': '',
'bank_province': '',
'bank_city': '',
'status': 3,
},
methods: {
info() {
......@@ -136,17 +135,27 @@
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=index');
return;
}
_this.account = d.account
_this.username = d.username;
_this.front_view = d.front_view;
_this.back_view = d.back_view;
_this.handset_view = d.handset_view;
_this.name = d.name;
_this.bank_name = d.bank_name;
_this.bank_card = d.bank_card;
_this.bank_province = d.bank_province;
_this.bank_city = d.bank_city;
_this.status = d.status;
if (d.status == 1) {
window.location.href = _this.url('/index.php?g=Appapi&m=Profit&a=withdraw');
return;
}
if ( d.status == 0) {
_this.account = d.account
_this.username = d.username;
_this.front_view = d.front_view;
_this.back_view = d.back_view;
_this.handset_view = d.handset_view;
_this.name = d.name;
_this.bank_name = d.bank_name;
_this.bank_card = d.bank_card;
_this.bank_province = d.bank_province;
_this.bank_city = d.bank_city;
}
} else {
layer.msg(data.msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment