这是我的代码:
processSPP.apply_async((selevation,a,c,emailAdd),
link=emailfile.s().set(link=deletefile.s()))
我希望结果是:987654321。这甚至可能吗?我的目标是这样结果:
var
sTemp : string;
begin
sTemp := IdHTTP1.Get('http://localhost:9001/datasnap/rest/TServerMethods1/ReverseString/123456789');
ShowMessage(sTemp);
// expected result : 987654321
// the result i got : {"result":["987654321"]}
end;
但结果如下:
{"id":1,"pid":null,"PrjID":10001,"PrjName":"007项目","enable":false,"type":"SEO","manager":null,"members":null,"admin":null,"status":"INACTIVE","roleId":6,"manager2":0}
这是错误的。我哪里做错了?我试过像
这样的东西{"result":"{\"id\":1,\"pid\":null,\"PrjID\":10001,\"PrjName\":\"007项目\",\"enable\":false,\"type\":\"SEO\",\"manager\":null,\"members\":null,\"admin\":null,\"status\":\"INACTIVE\",\"roleId\":6,\"manager2\":0}"}
但仍然是错误。提前谢谢。