|
@ -241,7 +241,7 @@ async function detail (ctx) { |
|
|
...cameraRes.dataValues, |
|
|
...cameraRes.dataValues, |
|
|
station: bindStations, |
|
|
station: bindStations, |
|
|
createUser: { |
|
|
createUser: { |
|
|
namePresent: corUser[0].namePresent |
|
|
namePresent: corUser.length && corUser[0].namePresent ? corUser[0].namePresent : '' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (cameraRes.type != 'yingshi') { |
|
|
if (cameraRes.type != 'yingshi') { |
|
|