Site Notice
hello, world
Difference between revisions of "CompareApi"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
|||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
+ | <html> | ||
<table class="diff diffTable"> | <table class="diff diffTable"> | ||
<colgroup> | <colgroup> | ||
Line 44: | Line 45: | ||
</tbody> | </tbody> | ||
</table> | </table> | ||
+ | </html> |
Revision as of 01:49, 24 November 2019
返回数据如下:
{ "compare": { "fromid": 37, "fromrevid": 984, "fromns": 2, "fromtitle": "User:机智的小鱼君/common.js", "fromsize": 64, "fromuser": "机智的小鱼君", "fromuserid": 1, "fromcomment": "", "fromparsedcomment": "", "toid": 37, "torevid": 1167, "tons": 2, "totitle": "User:机智的小鱼君/common.js", "tosize": 289, "touser": "机智的小鱼君", "touserid": 1, "tocomment": "[InPageEdit] 没有编辑摘要", "toparsedcomment": "[InPageEdit] 没有编辑摘要", "prev": 983, "next": 1168, "diffsize": 1862, "*": "这里是diff的表格" } }
<html> <table class="diff diffTable"> <colgroup> <col class="diff-marker"> <col class="diff-content"> <col class="diff-marker"> <col class="diff-content"> </colgroup> <tbody> <tr class="diff-title"> <td colspan="2" class="diff-otitle">diff-otitle placeholder</td> <td colspan="2" class="diff-ntitle">diff-ntitle placeholder</td> </tr> diffTable </tbody> </table> </html>