Authored by 郝肖肖

for in hasOwnProperty

... ... @@ -92,7 +92,7 @@ const applysave = (req, res, next) => {
try {
for (let key in req.body) {
if (req.body[key]) {
if (req.body.hasOwnProperty(key)) {
key = key + '';
param[_.camelCase(key)] = req.body[key];
}
... ...