明树Git Lab

Commit 44354f97 authored by yangyajing's avatar yangyajing
parents c447357b d627b9af
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