treeService = new HTTPService();
treeService.url = "com/huawei/gts/nis/cloudstudio/iaas/xml/";
switch(role)
{
case "admin":
treeService.url+="admin.xml";
break;
case "user":
treeService.url+="user.xml";
break;
}
treeService.resultFormat = "e4x";
treeService.addEventListener(ResultEvent.RESULT,loadTreeSuccess);
treeService.addEventListener(FaultEvent.FAULT,loadTreeFail);
treeService.send();
HttpService
最新推荐文章于 2021-02-20 19:37:24 发布