Action()
{
lr_rendezvous(“voiceSearch”);
lr_start_transaction(\"voiceSearch\");web_reg_save_param(\"status\",\"LB=\\\"status\\\":\",\"RB=,\\\"message\\\"\",LAST);web_submit_data(\"voiceSearch\",//\"Action=http://---\",\"Action=http://------\",\"Method=POST\",\"EncType=multipart/form-data\"\"RecContentType=misic/pcm\", //上传文件的格式//\"RecContentType=application/xml\",\"Referer=\",\"Snapshot=t106.inf\",\"Mode=HTML\",ITEMDATA,\"Name=appId\", \"Value=android\", ENDITEM,\"Name=equipmentNo\", \"Value=1\", ENDITEM,\"Name=file\", \"Value={NewParam_1}\",\"File=Yes\", ENDITEM,\"Name=reqType\", \"Value=SEARCH\", ENDITEM,\"Name=sessionId\", \"Value=1\", ENDITEM,\"Name=userId\", \"Value=1\", ENDITEM,LAST);if(strcmp(lr_eval_string(\"{status}\"),\"20000\") == 0){lr_end_transaction(\"voiceSearch\",PASS);}else{lr_end_transaction(\"voiceSearch\" ,FAIL);return -1;}return 0;
}