Cories aren't very tolerant of salt so I highly suggest not using it. I am not sure about the catfish but I am sure they don't need it either. I would just stick to straight freshwater for those guys.
For medicinal lengths of time salt sensitive species (scaleless, catfish) will have no problems coping with salt.
Other than treating for illness, don't bother putting salt in the tank