A soldier is being charged in a crime on a military based.which type of law is being applied

The type of law that would typically be applied in a crime committed on a military base is military law, specifically the Uniform Code of Military Justice (UCMJ).