摘要: 参考文章: [1] nodejs/Sequelize/MySQL——基础、联表及优化 [2]在EggJS中使用Sequelize做联表查询 1 在控制器中设置路由 访问的地址是:http://localhost:3000/cats/profile @Controller("cats") export 阅读全文
posted @ 2021-01-08 17:00 小猪冒泡 阅读(1658) 评论(0) 推荐(0) 编辑
摘要: 1 在控制器中设置路由 访问的地址是:http://localhost:3000/cats/profile @Controller("cats") export class CatsController { @Get("profile") findAll(): string { return "th 阅读全文
posted @ 2021-01-08 15:59 小猪冒泡 阅读(210) 评论(0) 推荐(0) 编辑