@@ -503,7 +503,8 @@ func (c *ContractApi) PostUnlock() {
}
// 1.项目节信息
sectionDetail := c.ServiceContract.Get(treeId, bidsectionId, projectIdInt, 0)
- c.Ctx.JSON(iris.Map{"code": 0, "msg": "解锁成功", "section": sectionDetail})
+ contractDetail := c.ServiceContract.GetContract(id)
+ c.Ctx.JSON(iris.Map{"code": 0, "msg": "解锁成功", "section": sectionDetail, "contract": contractDetail})
// @Summary 合同概述