The fees for licenses granted by the governing body of any municipality shall be for the benefit of the municipality. When a license is issued by the county board the fee shall be deposited in the county treasury and be credited to the county revenue fund.