No county or state officer for whose services a salary is provided by law shall receive any compensation for his services other than such salary. All fees received by him shall be paid into the county or state treasury, as the case may be, not later than the time set by §