If you have to choose between the two, it depends on your family conditions and personal needs. If you have good family conditions and strong personal spiritual needs, you should study philosophy. If your family conditions are relatively difficult and your personal work needs are relatively strong, then choose the law major.
Read it, and then take the postgraduate entrance examination. The lowest choice is black university, whose philosophy and law are very good. A higher choice can be the National People's Congress or the University of Political Science and Law.