refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,41 @@
// Code generated by protoc-gen-slc. DO NOT EDIT.
package server
import (
"context"
"bsm/full/module/finance/wallet/internal/logic/wechat"
pb "bsm/full/module/finance/wallet/pb"
)
type WechatServer struct {
pb.UnimplementedWechatServer
}
func NewWechatServer() *WechatServer {
return &WechatServer{}
}
// 微信JSAPI下单
func (s *WechatServer) JsapiPreOrder(ctx context.Context, in *pb.WxpayJSAPIPreOrderRequest) (*pb.WxpayJSAPIPreOrderReply, error) {
return wechat.JsapiPreOrder(ctx, in)
}
// 微信APP支付下单
func (s *WechatServer) AppPreOrder(ctx context.Context, in *pb.WxpayAppPreOrderRequest) (*pb.WxpayAppPreOrderReply, error) {
return wechat.AppPreOrder(ctx, in)
}
// 微信native二维码支付下单
func (s *WechatServer) NativePreOrder(ctx context.Context, in *pb.WxpayNativePreOrderRequest) (*pb.WxpayNativePreOrderReply, error) {
return wechat.NativePreOrder(ctx, in)
}
// 微信转账到零钱
func (s *WechatServer) Transfer(ctx context.Context, in *pb.WxpayTransferRequest) (*pb.WxpayTransferReply, error) {
return wechat.Transfer(ctx, in)
}
// 微信支付回调
func (s *WechatServer) WxCallback(ctx context.Context, in *pb.WxCallBackRequest) (*pb.CallBackReply, error) {
return wechat.WxCallback(ctx, in)
}