明树Git Lab

Commit 90353d35 authored by zfp1's avatar zfp1

Merge branch 'dev' of gitlab.bridata.com:zengfanpei/jt_backend into dev

parents 3173f836 0a0fdf84
Pipeline #103953 passed with stage
in 3 seconds
......@@ -2,6 +2,7 @@ const crypto = require('crypto');
const _ = require('lodash');
const CryptoJS = require('crypto-js');
const { Op } = require('sequelize');
const userModule = require('../module/userModule');
const errorMessage = require('../utils/errorMessage');
......@@ -124,6 +125,7 @@ async function createUser(req, res, next) {
}
}
async function getUserInfo(req, res, next) {
try {
let query = {};
......@@ -252,7 +254,7 @@ async function listUser(req, res, next) {
async function deleteUser(req, res, next) {
try {
const body = req.body;
const search = {};
let search = {};
if (body.id) {
search = { id: body.id };
}
......
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