Quantum key distribution performance analysis under different condition of boundary layer