caipin 4 年之前
父节点
当前提交
a03f4218a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/api/contract_section_tree_api.go

+ 1 - 1
web/api/contract_section_tree_api.go

@@ -279,7 +279,7 @@ func (c *ContractApi) PostSectionSave() {
 // @Success 200 {string} string	"{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
 // @Router /api/contract/section [delete]
 func (c *ContractApi) DeleteSection() {
-	// 获得模板号
+	// 获得模板号-=1
 	sectionData, err := c.ServiceContract.ValidRuleSectionDelete(c.Ctx)
 	if err != nil {
 		c.Ctx.JSON(iris.Map{"code": -1, "msg": "解析参数出错"})