attempts to use Mockjs to intercept post requests. The obtained option.body appears to be a string,
for example:
{
url: "http://test.cn/entity/save",
type: "POST",
body: "name=abc&type=1"
}
is there any setting that can be directly obtained into json, such as the following
?{
url: "http://test.cn/entity/save",
type: "POST",
body: {
name: "abc",
type: 1
}
}