Authored by 毕凯

Merge branch 'hotfix/shopSettle' into 'master'

商家入驻报错



See merge request !110
@@ -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 }