12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "app.yhyue.com/moapp/jyResourcesCenter/service"
- "context"
- "app.yhyue.com/moapp/jyResourcesCenter/rpc/internal/svc"
- "app.yhyue.com/moapp/jyResourcesCenter/rpc/resourcesCenter"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type JyExportChargeAmountLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewJyExportChargeAmountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *JyExportChargeAmountLogic {
- return &JyExportChargeAmountLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 剑鱼定制导出扣费方式
- func (l *JyExportChargeAmountLogic) JyExportChargeAmount(in *resourcesCenter.ChargeAccountReq) (*resourcesCenter.ChargeAccountResp, error) {
- resp := service.ChargeAccount(in)
- return resp, nil
- }
|