这是我的请求正文:
{
"filter": [{"NMUNIT": "MINI-MART GKB"}, {"KELUNIT": "311081116"}],
"group": ["AKUN", "KELUNIT", "NMUNIT"]
}
这是我的SecureObject类:
export default class SecureObjects {
public create(key: any, value: any){
var result = {};
for (var i = 0; i < key.length; i++)
result[key[i]] = value[i];
return result;
}
}
这是我的脚本:https://pastebin.com/raw/rqFGgdWx
我遇到类似the match filter must be an expression in an object
的错误–为什么$match
不是对象?
预先感谢