    JSON

    function dojs(obj,nowtime){
    	body = JSON.parse( obj );
    	//content= JSON.parse( body.content );
    	//var rjd={"orderNo":content.orderId,"code":"0000","time":nowtime};

    	//var rds = JSON.stringify(rjd);

    	var resData ={
    		type: "json",
    		content:{"orderNo":content.orderId,"code":"0000","Time":nowtime,"sign":"${rdsign}"},
    	        var_:[]
    	};
    	var data = JSON.stringify(resData);
    	return data ;
    }
    ===============================
    html

    function dojs(obj,nowtime){
    	body = JSON.parse( obj );
    	//content= JSON.parse( body.content );
    	//var rjd={"orderNo":content.orderId,"code":"0000","time":nowtime};

    	//var rds = JSON.stringify(rjd);

    	var resData ={
    		type: "html",
    		content:{
    			html:"...."
    		},
    	        var_:[]
    	};
    	var data = JSON.stringify(resData);
    	return data ;
    }

    ===============================
    redirect

    function dojs(obj,nowtime){
      	var resData ={
    	type: "redirect",
    	content:{
        		 domain:"https://****"
    	}
    };
    var data = JSON.stringify(resData);
    return data ;
    }

    		1、	var_:[{name: "sign1",method:"md5",value: rds } ]
    		2、	var_:[{name: "sign2",method:"http",value: "http://xxx/test/0001?key1=1111&key2=222" } ]