过滤6000平台
This commit is contained in:
parent
30e79564eb
commit
c25247367a
@ -161,7 +161,9 @@ router.post('/update', async (req, res, next) => {
|
|||||||
const curPlatform = body.platform
|
const curPlatform = body.platform
|
||||||
const prePlatform = platforms[platformIndex] || {}
|
const prePlatform = platforms[platformIndex] || {}
|
||||||
|
|
||||||
if (curPlatform.status !== prePlatform.status) {
|
delete curPlatform.newPlatform
|
||||||
|
|
||||||
|
if (curPlatform.platform.platform_id !== "6000" && (curPlatform.status !== prePlatform.status)) {
|
||||||
const token = await getOpsToken()
|
const token = await getOpsToken()
|
||||||
|
|
||||||
const statusRes = await axios({
|
const statusRes = await axios({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user