|  | @@ -50,9 +50,15 @@ func (c *ContractApi) PostSectionDepth() {
 | 
	
		
			
				|  |  |  		c.Ctx.JSON(iris.Map{"code": -1, "msg": fmt.Sprintf("%s", err)})
 | 
	
		
			
				|  |  |  		return
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +	//2.请求当前项目信息
 | 
	
		
			
				|  |  | +	// 1.验证项目节ID
 | 
	
		
			
				|  |  | +	treeId, _ := utils.GetDecryptId(sectionData.Id)
 | 
	
		
			
				|  |  | +	sectionDetail := c.ServiceContract.Get(treeId, bidsectionId, projectIdInt)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	c.Ctx.JSON(iris.Map{
 | 
	
		
			
				|  |  | -		"code": 0,
 | 
	
		
			
				|  |  | -		"msg":  "操作成功",
 | 
	
		
			
				|  |  | +		"code":    0,
 | 
	
		
			
				|  |  | +		"msg":     "操作成功",
 | 
	
		
			
				|  |  | +		"section": sectionDetail,
 | 
	
		
			
				|  |  |  	})
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -91,9 +97,16 @@ func (c *ContractApi) PostSectionSerial() {
 | 
	
		
			
				|  |  |  		c.Ctx.JSON(iris.Map{"code": -1, "msg": fmt.Sprintf("%s", err)})
 | 
	
		
			
				|  |  |  		return
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	//2.请求当前项目信息
 | 
	
		
			
				|  |  | +	// 1.验证项目节ID
 | 
	
		
			
				|  |  | +	treeId, _ := utils.GetDecryptId(sectionData.Id)
 | 
	
		
			
				|  |  | +	sectionDetail := c.ServiceContract.Get(treeId, bidsectionId, projectIdInt)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	c.Ctx.JSON(iris.Map{
 | 
	
		
			
				|  |  | -		"code": 0,
 | 
	
		
			
				|  |  | -		"msg":  "操作成功",
 | 
	
		
			
				|  |  | +		"code":    0,
 | 
	
		
			
				|  |  | +		"msg":     "操作成功",
 | 
	
		
			
				|  |  | +		"section": sectionDetail,
 | 
	
		
			
				|  |  |  	})
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -132,9 +145,16 @@ func (c *ContractApi) PostSectionSerialUpdate() {
 | 
	
		
			
				|  |  |  		c.Ctx.JSON(iris.Map{"code": -1, "msg": fmt.Sprintf("%s", err)})
 | 
	
		
			
				|  |  |  		return
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	//2.请求当前项目信息
 | 
	
		
			
				|  |  | +	// 1.验证项目节ID
 | 
	
		
			
				|  |  | +	treeId, _ := utils.GetDecryptId(sectionData.Id)
 | 
	
		
			
				|  |  | +	sectionDetail := c.ServiceContract.Get(treeId, bidsectionId, projectIdInt)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	c.Ctx.JSON(iris.Map{
 | 
	
		
			
				|  |  | -		"code": 0,
 | 
	
		
			
				|  |  | -		"msg":  "操作成功",
 | 
	
		
			
				|  |  | +		"code":    0,
 | 
	
		
			
				|  |  | +		"msg":     "操作成功",
 | 
	
		
			
				|  |  | +		"section": sectionDetail,
 | 
	
		
			
				|  |  |  	})
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -265,7 +285,13 @@ func (c *ContractApi) PostSectionSave() {
 | 
	
		
			
				|  |  |  		c.Ctx.JSON(iris.Map{"code": -1, "msg": fmt.Sprintf("%s", err)})
 | 
	
		
			
				|  |  |  		return
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | -	c.Ctx.JSON(iris.Map{"code": 0, "msg": "修改成功"})
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	//2.请求当前项目信息
 | 
	
		
			
				|  |  | +	// 1.验证项目节ID
 | 
	
		
			
				|  |  | +	treeId, _ := utils.GetDecryptId(sectionData.Id)
 | 
	
		
			
				|  |  | +	sectionDetail := c.ServiceContract.Get(treeId, bidsectionId, projectIdInt)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	c.Ctx.JSON(iris.Map{"code": 0, "msg": "修改成功", "section": sectionDetail})
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  // @Summary 删除 合同项目节
 |