Photonic spin Hall effect (SHE) is an interesting transport phenomenon, and has attracted growing attention. The spin-dependent splitting of photonic SHE as a weak effect is just tens of nanometers so that it can usually be detected indirectly with the weak measurement techniques. To detect it directly and use it properly, many efforts have been devoted to enhancing the photonic SHE. Recently, the surface plasmon resonance (SPR) excited by a pure nanometal structure is used to enhance the photonic SHE. However, the pure metal permittivities are limited, therefore the regulation of the photonic SHE is also restricted. It is worth mentioning that the alloy made from the pure metal with different composition proportions can achieve the artificial control of permittivity. More importantly, the alloy can also be used to manipulate the SPR. In this paper, we systematically investigate the photonic SHE in a nanoalloy structure composed of BK7 glass, alloy film and air in order to realize the enhancement of photonic SHE. First of all, the resonant angle of SPR varying with the permittivity of alloy is studied by using the angular spectrum theory of beam. It is found that the resonant angle of the SPR is mainly influenced by the real part of the permittivity of alloy, while the imaginary part has little influence on it. The resonant angle of SPR will increase with the increase of the real part of the permittivity. Secondly, the spin-dependent splitting is studied by changing the alloy permittivity when the incident angle is set to be a resonant angle. We find that the distribution of the larger spin-dependent splitting at the resonant angle is zonal. The optimal permittivity of alloy film is ε2=-2.8 + 1.6i, and the alloy can be composed of Ag and Ni according to the Bruggerman theory. Under the condition of the optimal permittivity, the spin-dependent splitting reaches about 1.2×105 nm at a resonant angle of 51.5°, which is about 40 times larger than the previous result in a pure nanometal structure. Finally, when the incident angle is fixed at 44.1°, it is revealed that the spin-dependent splitting varying with the permittivity is axially symmetric and spherical radiation is centered at a maximum value. The farther away from the center, the smaller the corresponding beam shift is. The alloy permittivity in the spherical radiation center is ε2=-10.6 + 1.2i, which can be composed of Au and Ag. The value of spin-dependent splitting reaches about 8000 nm, which is greatly improved when compared with the previous maximum value 3000 nm in a pure nanometal structure. These findings can effectively enhance the photonic SHE and provide theoretical basis for the research and development of nanophotonic devices such as the SPR-based sensor.