This commit is contained in:
@@ -41,7 +41,7 @@ def _format_endpoint_block(report: EndpointChangeReport) -> str:
|
|||||||
if report.is_removed_endpoint:
|
if report.is_removed_endpoint:
|
||||||
return "\n".join(header + ["", f"<font color=\"warning\">**该接口已被移除**</font>"])
|
return "\n".join(header + ["", f"<font color=\"warning\">**该接口已被移除**</font>"])
|
||||||
|
|
||||||
detail_lines = ["", "---", "", "## 接口参数变动详情", "", "---", ""]
|
detail_lines = ["", "---------------------------------------", "", "## 【接口参数变动详情】", ""]
|
||||||
|
|
||||||
if report.is_new_endpoint:
|
if report.is_new_endpoint:
|
||||||
detail_lines.append("### <font color=\"info\">**新增接口参数**</font>")
|
detail_lines.append("### <font color=\"info\">**新增接口参数**</font>")
|
||||||
|
|||||||
Reference in New Issue
Block a user