The Law on Public Security Punishment stipulates that those who beat others or intentionally hurt others' bodies shall be detained for more than five days and less than ten days, and fined for more than 200 yuan and less than 500 yuan; If the circumstances are minor, they shall be detained for not more than five days or fined not more than five hundred yuan.
Therefore, the attacker will be detained or fined, and the other party will pay civil compensation if he files a lawsuit in court, because minor injuries should not be criminally liable and do not constitute a crime.