فهرست منبع

feat:加日志

fuwencai 1 سال پیش
والد
کامیت
cf1a1f33d2
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      internal/controller/personnel/personnel.go

+ 1 - 0
internal/controller/personnel/personnel.go

@@ -24,6 +24,7 @@ type personnel struct{}
 func (p *personnel) Statistics(ctx context.Context, req *v1.PersonnelInsertReq) (res *utils.ResponseRes, err error) {
 	var in model.PersonnelInsertInput
 	res = &utils.ResponseRes{}
+	g.Log().Info(model.Ctx, "--Statistics--接收参数--", req, g.RequestFromCtx(ctx).Header)
 	in.ActionId = common.If(req.ActionId == "undefined", "", req.ActionId).(string)
 	in.ActionType = common.If(req.ActionType == "undefined", "", req.ActionType).(string)
 	in.BreakerId = common.If(req.BreakerId == "undefined", "", req.BreakerId).(string)