问题遇到的现象和发生背景
这是一个egg.js的后端项目, 在通过apipost的get请求数据时,返回了“Error: Include unexpected. Element has to be either a Model, a n Association or an object”这个报错,目前没有解决的方法和思路
问题相关代码
app/controller/video.js/
路由:
app/router.js
app/middleware/getuser.js
config/config.default.js
运行结果及报错内容
使用Apipost发起get请求时返回了“Error: Include unexpected. Element has to be either a Model, a n Association or an object”