?> </div> <div class="mright"> <h3>后台直连响应解析结果</h3> <div class="mrmain"> <table> <tbody> <?php require_once '../api/plat2Mer.php'; $html = $_REQUEST['html']; $html = is_null($html) ? "" : trim($html); $dataType = $_REQUEST['dataType']; $data = new HashMap(); try { if ($dataType == "0") { $data = PlatToMer::getResDataByHtml($html); } else { $data = PlatToMer::getResDataByMeta($html); } } catch (Exception $e) { die("解析响应数据出错"); } if (!is_null($data) && $data->size() > 0) { $keys = $data->keys(); for ($i = 0; $i < count($keys); $i++) { echo "<tr>\n"; if ($keys[$i] == "sign") { echo '<th valign="top" nowrap>【sign】:</th>'; echo "\n"; echo '<td valign="top" nowrap><textarea cols="60" rows="3" name="html">' . $data->get($keys[$i]) . '</textarea></td>'; echo "\n";