鉴权完成,并修复小程序接口拦截器问题

This commit is contained in:
aixianling
2023-01-13 17:57:46 +08:00
parent 9c26e09326
commit 5594dc2378
8 changed files with 107 additions and 16 deletions

View File

@@ -0,0 +1,11 @@
const Controller = require("egg").Controller
class Product extends Controller {
async list() {
const {ctx: {query}} = this
this.ctx.body = {code: 0, data: []}
this.ctx.status = 200
}
}
module.exports = Product