In addition, just don't take the initiative to resign and leave, and you can get paid by trying to get the boss to take the initiative to dismiss you. If you resign on your own initiative, you won't get paid for your work.
It is illegal to sign a labor contract with an employer, and you can apply to the local labor inspection department to claim your rights and interests.