明树Git Lab

Commit ab66b593 authored by zfp1's avatar zfp1

update

parent 1fbe0bc3
async function createQuestion(params) { async function createQuestion(req, res, next) {
try { try {
let body = req.body; let body = req.body;
let ret = await DB.Question.create(body); let ret = await DB.Question.create(body);
...@@ -12,7 +12,7 @@ async function createQuestion(params) { ...@@ -12,7 +12,7 @@ async function createQuestion(params) {
}) })
} }
} }
async function getQuesList(params) { async function getQuesList(req, res, next) {
try { try {
let search = { let search = {
openid: req.body.openid openid: req.body.openid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment