Solar light-controlled high-voltage distribution cabinet