摘要:
1.创建 service 文件 app/service/article.js const Service = require('egg').Service; class ArticleService extends Service { async create(params) { const { a 阅读全文
摘要:
1.创建 mysql 表结构 create database egg_article; use egg_article; create table article( id int(10) not null auto_increment, img text default null comment ' 阅读全文