
本文共 2284 字,大约阅读时间需要 7 分钟。
������������������������������������������������������������EggJS���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
������������EggJS������ "validate no function"
���������������������������������������������������������������:
const Controller = require('egg').Controller;class PostController extends Controller { async create() { const { ctx, service } = this; const createRule = { title: { type: 'string&
������������������������������ "validate no function"���������������������������������������������������������������������������������������������������������������������������������������validate������������������������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������POST���������������������������
���������������������������������������������������������POST������������������������������������������������������������������������������������������������������������������eggjs������������������������������������������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������validate������������������������������������������������
���������������������������������������������POST������������������������������Content-Type���application/x-www-form-urlencoded���
������������������������������������������������������������������������������������������������������������
������������������������������������������������������EggJS���������������������������HTTP���������RESTful API������������������������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
