作者 王智

daima

@@ -51,7 +51,7 @@ class Vip extends Api @@ -51,7 +51,7 @@ class Vip extends Api
51 $id = input('id'); 51 $id = input('id');
52 $vip = Db::name('vip')->where('id', $id)->find(); 52 $vip = Db::name('vip')->where('id', $id)->find();
53 $user = Db::name('user')->where('id', $user_id)->find(); 53 $user = Db::name('user')->where('id', $user_id)->find();
54 - if (empty($user['car_num']) || empty($user['color']) || empty($user['car_type'])) { 54 + if (empty($user['car_num']) || empty($user['color']) || empty($user['car_type']) || empty($user['address']) || empty($user['address_con'])) {
55 $this->error('请先完善信息', 0); 55 $this->error('请先完善信息', 0);
56 die; 56 die;
57 } 57 }