Credit risk evaluation of corporate loans is important for preventing credit default risk. Based on a national village bank's SME loan data, this paper provides a comprehensive analysis of the influencing factors of loan default and builds a logistic regression model to predict the default rate of corporate loans. The credit rating master scale designed according to the borrower default rate classifies borrowers into 10 different credit classes, which effectively differentiate the risk categories of borrowers and thus provides theoretical support for bank loan approval decision. The empirical results show that years of operation, number of loans, annual sales revenue, execution interest rate, loan term, and lawyer-population ratio are significant in the model; both modeling sample and prediction sample have good default prediction ability.