liujiandao
2023-11-23 2b6e19d0864e922f67c672775a501d953dd01d8d
api/v1/test/contract.go
@@ -203,7 +203,7 @@
// @Produce application/json
// @Param data query test.Contract true "用id查询Contract"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"预览成功"}"
// @Router /con/previewContract [get]
// @Router /previewContract [get]
func (conApi *ContractApi) PreviewContract(c *gin.Context) {
   var con test.Contract
   err := c.ShouldBindQuery(&con)
@@ -254,7 +254,7 @@
// @Produce application/json
// @Param data query test.Contract true "用id查询Contract"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"下载成功"}"
// @Router /con/downloadContract [get]
// @Router /downloadContract [get]
func (conApi *ContractApi) DownloadContract(c *gin.Context) {
   var con test.Contract
   err := c.ShouldBindQuery(&con)