|
|
for (const action of ['Default','AuditApply','AuditApply_Agree','AuditApply_Reject','CreateComp','PlatInfoDeail','PlatInfoDetail_Submit','PlatInfoManage','TopicList','WordTlp','Crud','CrudAdd','CrudAdd_Submit','GroupAdmin_API','API_msg_topic']) {
|
|
|
const blocked = await callFunctionError('xiaoshu/admin/gateway', login.sessionToken, { operation: 'legacyPlatBlocker', action }, 501); if (!String(blocked.message).includes('migration_blocked')) throw new Error(`旧协同办公动作 ${action} 未返回明确迁移阻塞`);
|
|
|
+ const printerBlocked = await callFunctionError('xiaoshu/admin/gateway', login.sessionToken, { operation: 'legacyPrinterBlocker', action: 'Index' }, 501); if (!String(printerBlocked.message).includes('ZL_Shop_PrintDevice') || !String(printerBlocked.message).includes('my.feyin.net')) throw new Error('旧打印入口未返回数据与设备协议阻塞原因');
|
|
|
for (const action of ['Default','FlowInfo','FlowInfo_Submit','Flow_API','SelFlowModel','FlowItem','FlowItemInfo','FlowItemInfo_Submit','FlowItem_API','AddMisModel','AddMisModel_Submit','AddSign','AddSign_Submit','AddSign_Delete','ApplyManage','ApplyManage_Delete','MisModelManage','MisModelManage_Delete','OAConfig','SelModelFieds','SignManage']) {
|
|
|
const blocked = await callFunctionError('xiaoshu/admin/gateway', login.sessionToken, { operation: 'legacyOABlocker', action }, 501); if (!String(blocked.message).includes('migration_blocked')) throw new Error(`旧 OA 动作 ${action} 未返回明确迁移阻塞`);
|