异常问题:
Error resolving template [api/wx/pay/callBack], template might not exist or might not be accessible by any of the configured Template Resolvers
问题解释:
使用了template返回结果不匹配
模板可能不存在,或者任何配置的模板解析程序都无法访问该模板
解决方法:
在
Controller类中的方法上加如注解 @ResponseBody
@ResponseBody
public void callBack() {
//代码内容
}