|
|
@@ -12,7 +12,7 @@ import (
|
|
|
|
|
|
type CtrContract struct{}
|
|
|
|
|
|
-// swagger:route 合同,测试tag 合同详情
|
|
|
+// Swagger:CtrContract 合同,测试tag 合同详情
|
|
|
func (c *CtrContract) Get(ctx context.Context, req *model.IdRequiredReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.Get request %#v ", *req)
|
|
|
s, err := service.NewCtrContractService(ctx)
|
|
|
@@ -30,7 +30,7 @@ func (c *CtrContract) Get(ctx context.Context, req *model.IdRequiredReq, rsp *co
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-// swagger:route 合同,测试tag 查询合同
|
|
|
+// Swagger:CtrContract 合同,测试tag 查询合同
|
|
|
func (c *CtrContract) List(ctx context.Context, req *model.CtrContractListReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.List request %#v ", *req)
|
|
|
s, err := service.NewCtrContractService(ctx)
|
|
|
@@ -54,7 +54,7 @@ func (c *CtrContract) List(ctx context.Context, req *model.CtrContractListReq, r
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-// swagger:route 合同,测试tag 查询合同动态列表
|
|
|
+// Swagger:CtrContract 合同,测试tag 查询合同动态列表
|
|
|
func (c *CtrContract) DynamicsList(ctx context.Context, req *model.CtrContractDynamicsListReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.GetDynamicsList request %#v ", *req)
|
|
|
s, err := service.NewCtrContractService(ctx)
|
|
|
@@ -78,7 +78,7 @@ func (c *CtrContract) DynamicsList(ctx context.Context, req *model.CtrContractDy
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-// swagger:route 合同,测试tag 新增合同
|
|
|
+// Swagger:CtrContract 合同,测试tag 新增合同
|
|
|
func (c *CtrContract) Add(ctx context.Context, req *model.CtrContractAddReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.Add request %#v ", *req)
|
|
|
s, err := service.NewCtrContractService(ctx)
|
|
|
@@ -96,7 +96,7 @@ func (c *CtrContract) Add(ctx context.Context, req *model.CtrContractAddReq, rsp
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-// swagger:route 合同,测试tag 更新合同
|
|
|
+// Swagger:CtrContract 合同,测试tag 更新合同
|
|
|
func (c *CtrContract) Update(ctx context.Context, req *model.CtrContractUpdateReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.Update request %#v ", *req)
|
|
|
s, err := service.NewCtrContractService(ctx)
|
|
|
@@ -113,7 +113,7 @@ func (c *CtrContract) Update(ctx context.Context, req *model.CtrContractUpdateRe
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-// swagger:route 合同,测试tag 转移合同
|
|
|
+// Swagger:CtrContract 合同,测试tag 转移合同
|
|
|
func (c *CtrContract) Transfer(ctx context.Context, req *model.CtrContractTransferReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.Transfer request %#v ", *req)
|
|
|
s, err := service.NewCtrContractService(ctx)
|
|
|
@@ -131,7 +131,7 @@ func (c *CtrContract) Transfer(ctx context.Context, req *model.CtrContractTransf
|
|
|
}
|
|
|
|
|
|
// 多行注释测试
|
|
|
-// swagger:route 合同,测试tag 删除合同
|
|
|
+// Swagger:CtrContract 合同,测试tag 删除合同
|
|
|
// 多行注释测试
|
|
|
func (c *CtrContract) Delete(ctx context.Context, req *model.IdsReq, rsp *comm_def.CommonMsg) error {
|
|
|
g.Log().Infof("CtrContract.Delete request %#v ", *req)
|