|
@@ -21,7 +21,7 @@ import (
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param id body string true "项目节ID"
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
-// @Param treeType body string true "项目节类型(0合同1支出) 不传为0" default(0)
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Param operation body string true "操作名称" default(upDepth)
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section/depth [post]
|
|
@@ -76,7 +76,7 @@ func (c *ContractApi) PostSectionDepth() {
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param id body string true "项目节ID"
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
-// @Param treeType body string true "项目节类型(0合同1支出) 不传为0" default(0)
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Param operation body string true "操作名称" default(upSerial)
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section/serial [post]
|
|
@@ -131,7 +131,7 @@ func (c *ContractApi) PostSectionSerial() {
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param id body string true "项目节ID"
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
-// @Param treeType body string true "项目节类型(0合同1支出) 不传为0" default(0)
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Param serial body int true "操作名称"
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section/serial/update [post]
|
|
@@ -186,7 +186,7 @@ func (c *ContractApi) PostSectionSerialUpdate() {
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param templateNumber body int true "模板号" default(1)
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
-// @Param treeType body string true "项目节类型(0合同1支出) 不传为0" default(0)
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section/template [post]
|
|
|
func (c *ContractApi) PostSectionTemplate() {
|
|
@@ -242,7 +242,7 @@ func (c *ContractApi) PostSectionTemplate() {
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param id body string true "项目节ID"
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
-// @Param treeType body string true "项目节类型(0合同1支出) 不传为0" default(0)
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Param name body string true "项目节名称"
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section/add [post]
|
|
@@ -288,7 +288,7 @@ func (c *ContractApi) PostSectionAdd() {
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param id body string true "项目节ID"
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
-// @Param treeType body string true "项目节类型(0合同1支出) 不传为0" default(0)
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Param name body string true "项目节名称"
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section/save [post]
|
|
@@ -340,6 +340,7 @@ func (c *ContractApi) PostSectionSave() {
|
|
|
// @Security ApiKeyAuth
|
|
|
// @Param id body string true "项目节ID"
|
|
|
// @Param bidsectionId body string true "标段ID"
|
|
|
+// @Param treeType body string true "项目节类型(0收入1支出) 不传为0" default(0)
|
|
|
// @Success 200 {string} string "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}"
|
|
|
// @Router /api/contract/section [delete]
|
|
|
func (c *ContractApi) DeleteSection() {
|