This commit is contained in:
2025-04-16 13:25:44 +08:00
parent af8ed90d46
commit 5b93622637

View File

@@ -41,6 +41,11 @@ _.router.post('/allOrder', async function(req, res, next) {
});
if(allOrder.length != 0) {
allOrder.forEach(v => {
v.wares_masterimg = JSON.parse(v.wares_masterimg);
v.wares_infoimg = JSON.parse(v.wares_infoimg);
v.wares_conf = JSON.parse(v.wares_conf);
})
res.json({
status: 200,
message: '请求成功',
@@ -50,7 +55,7 @@ _.router.post('/allOrder', async function(req, res, next) {
res.json({
status: 200,
message: '没有订单',
result: {}
result: []
});
}