全局审计日fix: 使用鸭子类型强制安全解包 SQLAlchemy Row 对象,彻底解决 to_dict 报错志
This commit is contained in:
@ -51,4 +51,13 @@ export function delMaterialBase(id: number) {
|
||||
url: `/inbound/base/${id}`,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 5. 批量设置预警
|
||||
export function batchSetWarning(data: any[]) {
|
||||
return request({
|
||||
url: '/inbound/base/warning/batch-set',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user