//验证年纪
        $age = (date('Y') - substr($data['id_card'], 6, 4)-1) + (date('md') >= substr($data['id_card'], 10, 4) ? 1 : 0) ;
        if($age < 18){
            ['code' => 400, 'msg' => '未满18周岁不允许实名'];
        }