public function upInfo()
 {
     $state = $this->in_get('state', None, 2, 'True');
     $wx_data = base64_decode($state);
     $con['p_id'] = $this->in_cookie('pId', None, 1, 'True');
     // 获取用户订单信息
     $wx_data_arr = explode('@@', $wx_data);
     $room = in($wx_data_arr[0]);
     $phone = in($wx_data_arr[1]);
     $msg = Check::rule(array(check::mobile($phone), '手机电话号码格式不对'));
     if ($msg != 1) {
         $this->alert('您的手机号码不正确');
     }
     $data['addr'] = $room;
     $data['phone'] = $phone;
     $res = $this->model->table($this->config['info_person'])->data($data)->where($con)->update();
     if ($res) {
         $this->alert('个人信息更新成功', __ROOT__ . '/person');
     } else {
         $this->alert('服务器暂时出了点小差');
     }
 }