过滤6000平台

This commit is contained in:
yulixing 2019-07-31 15:50:27 +08:00
parent 30e79564eb
commit c25247367a

View File

@ -161,7 +161,9 @@ router.post('/update', async (req, res, next) => {
const curPlatform = body.platform
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 statusRes = await axios({