It is illegal to work more than 8 hours a day, and you can notify the unit to resign at any time.
The unit shall pay wages according to the number of attendance days.
Labor Contract Law
Article 38 A laborer may terminate the labor contract under any of the following circumstances:
(1) Failing to provide labor protection or working conditions as agreed in the labor contract;
(2) Failing to pay labor remuneration in full and on time;
(3) Failing to pay social insurance premiums for laborers according to law;
(4) The rules and regulations of the employing unit violate the provisions of laws and regulations and damage the rights and interests of workers;
(5) The labor contract is invalid due to the circumstances specified in the first paragraph of Article 26 of this Law;
(6) Other circumstances under which the laborer can terminate the labor contract as stipulated by laws and administrative regulations.