返回字符串或者字符串匹配的模板名称的时候使用controller。 restController返回的是一个对象,返回json字符串, 转载于:https://www.cnblogs.com/minshia/p/6930624.html