§ 77. Powers of local officers. If in any city of the first or second class there now exists or shall hereafter be created a board, body or officer having jurisdiction of matters pertaining to gas or electric service, such board, body or officer shall have and may exercise such power, jurisdiction and authority in enforcing the laws of the state and the orders, rules and regulations of the commission as may be prescribed by statute or by the commission.