caipin 4 éve
szülő
commit
dfd3362344
1 módosított fájl, 2 hozzáadás és 1 törlés
  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 合同概述