Browse Source

日志添加

WH01243 1 năm trước cách đây
mục cha
commit
abc3d826a6

+ 2 - 0
api/internal/logic/candidatechannellistlogic.go

@@ -3,6 +3,7 @@ package logic
 import (
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/service"
 	"context"
+	"fmt"
 
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/svc"
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
@@ -26,6 +27,7 @@ func NewCandidateChannelListLogic(ctx context.Context, svcCtx *svc.ServiceContex
 
 func (l *CandidateChannelListLogic) CandidateChannelList(req *types.ChannelListReq) (resp *types.Reply, err error) {
 	// todo: add your logic here and delete this line
+	logx.Info(fmt.Sprintf("%+v", req))
 	resp = &types.Reply{}
 	ownerService := &service.OwnerService{
 		PartyA:       req.PartyA,

+ 2 - 0
api/internal/logic/candidatechannellogic.go

@@ -3,6 +3,7 @@ package logic
 import (
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/service"
 	"context"
+	"fmt"
 
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/svc"
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
@@ -26,6 +27,7 @@ func NewCandidateChannelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *
 
 func (l *CandidateChannelLogic) CandidateChannel(req *types.ChannelListReq) (resp *types.Reply, err error) {
 	// todo: add your logic here and delete this line
+	logx.Info(fmt.Sprintf("%+v", req))
 	resp = &types.Reply{}
 	ownerService := &service.OwnerService{
 		PartyA:       req.PartyA,

+ 2 - 1
api/internal/logic/ownercooperatelogic.go

@@ -3,6 +3,7 @@ package logic
 import (
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/service"
 	"context"
+	"fmt"
 
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/svc"
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
@@ -26,7 +27,7 @@ func NewOwnerCooperateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Ow
 
 func (l *OwnerCooperateLogic) OwnerCooperate(req *types.CooperateOwnerListReq) (resp *types.Reply, err error) {
 	// todo: add your logic here and delete this line
-
+	logx.Info(fmt.Sprintf("%+v", req))
 	resp = &types.Reply{}
 	ownerService := &service.OwnerService{
 		BuyerId:       req.BuyerId,

+ 2 - 0
api/internal/logic/ownerlistlogic.go

@@ -2,6 +2,7 @@ package logic
 
 import (
 	"context"
+	"fmt"
 
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/service"
 
@@ -27,6 +28,7 @@ func NewOwnerListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OwnerLi
 
 func (l *OwnerListLogic) OwnerList(req *types.OwnerListReq) (resp *types.Reply, err error) {
 	// todo: add your logic here and delete this line
+	logx.Info(fmt.Sprintf("%+v", req))
 	resp = &types.Reply{}
 	ownerService := &service.OwnerService{
 		PartyA:           req.PartyA,

+ 2 - 0
api/internal/logic/ownerroutelogic.go

@@ -3,6 +3,7 @@ package logic
 import (
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/service"
 	"context"
+	"fmt"
 
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/svc"
 	"bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
@@ -26,6 +27,7 @@ func NewOwnerRouteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OwnerR
 
 func (l *OwnerRouteLogic) OwnerRoute(req *types.RouteOwnerListReq) (resp *types.Reply, err error) {
 	// todo: add your logic here and delete this line
+	logx.Info(fmt.Sprintf("%+v", req))
 	resp = &types.Reply{}
 	ownerService := &service.OwnerService{
 		BuyerId:    req.BuyerId,