...
|
...
|
@@ -44,6 +44,12 @@ class Vip extends Frontend |
|
|
if(!empty($store)){
|
|
|
$this->redirect('index/member/order');
|
|
|
}
|
|
|
// 查询是否有已支付、待审核的订单
|
|
|
$viporder_model = new Viporder();
|
|
|
$viporder = $viporder_model->where(['user_id'=>$user_id,'status'=>2,'audit'=>['in',['1','2']]])->find();
|
|
|
if($viporder) {
|
|
|
return $this->fetch('pay_success');
|
|
|
}
|
|
|
//个人店铺
|
|
|
$minestoreModel = new Minestore();
|
|
|
$minestore = $minestoreModel->findData(['user_id'=>$user_id]);
|
...
|
...
|
|