caipin 4 년 전
부모
커밋
dfd3362344
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      web/api/contract_api.go

+ 2 - 1
web/api/contract_api.go

@@ -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 合同概述