12345678910111213141516 |
- "use strict";
- const _ = require("lodash");
- const meta = require("./.product.js");
- const Controller = require("egg").Controller;
- const { CrudController } = require("naf-framework-mongoose/lib/controller");
- // 轮播
- class ProductController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.product;
- }
- }
- module.exports = CrudController(ProductController, meta);
|