var vCatList = _httpdata.catList.list;
var vPublicList = _httpdata.publicList.list;
var newCatArray = new Array();
for(var i=0; i<vCatList.length; i++){
var vCatId = vCatList[i].catId;
var newPublicArray = new Array();
for(var j=0; j<vPublicList.length; j++){
var vPublicCatId = vPublicList[j].catId;
if(vCatId == vPublicCatId){
newPublicArray.push(vPublicList[j]);
}
}
vCatList[i].newPublicArray = newPublicArray;
newCatArray.push(vCatList[i]);
}
var vPublicList = _httpdata.publicList.list;
var newCatArray = new Array();
for(var i=0; i<vCatList.length; i++){
var vCatId = vCatList[i].catId;
var newPublicArray = new Array();
for(var j=0; j<vPublicList.length; j++){
var vPublicCatId = vPublicList[j].catId;
if(vCatId == vPublicCatId){
newPublicArray.push(vPublicList[j]);
}
}
vCatList[i].newPublicArray = newPublicArray;
newCatArray.push(vCatList[i]);
}