Merge branch 'hotfix/shopSettle' into 'master'
商家入驻报错 See merge request !110
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -92,7 +92,7 @@ const applysave = (req, res, next) => { | @@ -92,7 +92,7 @@ const applysave = (req, res, next) => { | ||
92 | 92 | ||
93 | try { | 93 | try { |
94 | for (let key in req.body) { | 94 | for (let key in req.body) { |
95 | - if (req.body.hasOwnProperty(key)) { | 95 | + if (req.body[key]) { |
96 | key = key + ''; | 96 | key = key + ''; |
97 | param[_.camelCase(key)] = req.body[key]; | 97 | param[_.camelCase(key)] = req.body[key]; |
98 | } | 98 | } |
-
Please register or login to post a comment