refactor: reorganize modules and add Linux build tooling
This commit is contained in:
36
module/finance/wallet/internal/server/alipay_server.go
Normal file
36
module/finance/wallet/internal/server/alipay_server.go
Normal file
@@ -0,0 +1,36 @@
|
||||
// Code generated by protoc-gen-slc. DO NOT EDIT.
|
||||
package server
|
||||
|
||||
import (
|
||||
"context"
|
||||
"bsm/full/module/finance/wallet/internal/logic/alipay"
|
||||
pb "bsm/full/module/finance/wallet/pb"
|
||||
)
|
||||
|
||||
type AlipayServer struct {
|
||||
pb.UnimplementedAlipayServer
|
||||
}
|
||||
|
||||
func NewAlipayServer() *AlipayServer {
|
||||
return &AlipayServer{}
|
||||
}
|
||||
|
||||
// 支付宝wap支付
|
||||
func (s *AlipayServer) WapPay(ctx context.Context, in *pb.AlipayTradeWapPayRequest) (*pb.AlipayTradeWapPayReply, error) {
|
||||
return alipay.WapPay(ctx, in)
|
||||
}
|
||||
|
||||
// 支付宝电脑网站支付
|
||||
func (s *AlipayServer) PagePay(ctx context.Context, in *pb.AlipayTradePagePayRequest) (*pb.AlipayTradePagePayReply, error) {
|
||||
return alipay.PagePay(ctx, in)
|
||||
}
|
||||
|
||||
// 支付宝APP支付
|
||||
func (s *AlipayServer) AppPay(ctx context.Context, in *pb.AlipayTradeAppPayRequest) (*pb.AlipayTradeAppPayReply, error) {
|
||||
return alipay.AppPay(ctx, in)
|
||||
}
|
||||
|
||||
// 支付宝转账到个人支付宝账户
|
||||
func (s *AlipayServer) Transfer(ctx context.Context, in *pb.AlipayUniTransferRequest) (*pb.AlipayUniTransferReply, error) {
|
||||
return alipay.Transfer(ctx, in)
|
||||
}
|
||||
Reference in New Issue
Block a user