fix
This commit is contained in:
@@ -197,7 +197,7 @@ module.exports = {
|
||||
maxFileSize: 20 * 1024 * 1024, // 限制文件体积最大20m
|
||||
keepExtensions: true,
|
||||
encoding: 'utf-8'
|
||||
});
|
||||
}) || {};
|
||||
const { pic1, pic2 } = form.data;
|
||||
const { realname, nation, idType, idNo } = form.fields || {};
|
||||
if (!pic1 || !pic2 || !realname || !idNo) return res.json({
|
||||
|
||||
Reference in New Issue
Block a user