A drug for treating tumor diseases, and having antibacterial, antivirus, and anti-inflammatory effects. The drug contains a naphthalene dicarboxamide compound having a structural formula as shown in Formula I or a biologically acceptable salt or the compound with the formula I as an active ingredient. The drug for treating tumor diseases, and having antibacterial, antivirus, and anti-inflammatory effects has a good effect on inhibiting the growth of tumor cells, and also has certain antibacterial, antivirus, and anti-inflammatory effects.