advertisingclicklogic.go 684 B

123456789101112131415161718192021222324252627282930
  1. package logic
  2. import (
  3. "context"
  4. "app.yhyue.com/moapp/jyMarketing/api/internal/svc"
  5. "app.yhyue.com/moapp/jyMarketing/api/internal/types"
  6. "github.com/tal-tech/go-zero/core/logx"
  7. )
  8. type AdvertisingClickLogic struct {
  9. logx.Logger
  10. ctx context.Context
  11. svcCtx *svc.ServiceContext
  12. }
  13. func NewAdvertisingClickLogic(ctx context.Context, svcCtx *svc.ServiceContext) AdvertisingClickLogic {
  14. return AdvertisingClickLogic{
  15. Logger: logx.WithContext(ctx),
  16. ctx: ctx,
  17. svcCtx: svcCtx,
  18. }
  19. }
  20. func (l *AdvertisingClickLogic) AdvertisingClick(req types.AdvertisingReq) (*types.Response, error) {
  21. // todo: add your logic here and delete this line
  22. return &types.Response{}, nil
  23. }