明树Git Lab

Commit 3049f4ba authored by zfp1's avatar zfp1

update

parent 625dd3a0
...@@ -7,6 +7,7 @@ async function createQuestion(req, res, next) { ...@@ -7,6 +7,7 @@ async function createQuestion(req, res, next) {
let ret = await DB.Question.create(body); let ret = await DB.Question.create(body);
res.sendData(ret) res.sendData(ret)
} catch (error) { } catch (error) {
console.log(error);
res.sendError({ res.sendError({
code: 5000, code: 5000,
message: "创建问题失败" message: "创建问题失败"
......
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