Both drama deals with friendship and solving mysteries. There is some bromance while the cp takes a back burner to the overall plot.
Although it's not necessary to watch season 1 before season 2, I still highly recommend it. You will understand how the characters are related to each other, understand one of the main arc of the story regarding the princess and Lu Lingfeng, and lastly there are some amazing cases that shouldn't be miss.