是这样的: advise doing sth. 建议做某事 (没有sb.时用动名词作宾语)advise sb. to do sth.建议某人做某事(有sb.时用不定式作宾补)He advised visiting the Great Wall this summer .
都可以的