1234567891011121314151617181920212223242526272829303132 |
- package logic
- import (
- "context"
- "bp.jydev.jianyu360.cn/BaseService/payCenter/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/payCenter/rpc/pb"
- "bp.jydev.jianyu360.cn/BaseService/payCenter/service"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type AliPayCallbackLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewAliPayCallbackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AliPayCallbackLogic {
- return &AliPayCallbackLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 支付宝回调
- func (l *AliPayCallbackLogic) AliPayCallback(in *pb.AliPayCallbackReq) (*pb.AliPayCallbackResp, error) {
- // todo: add your logic here and delete this line
- return service.AliPayCallback(in), nil
- }
|