package wechat

import (
	"context"

	pb "bsm/full/module/finance/wallet/pb"
	"git.apinb.com/bsm-sdk/core/service"
)

// 微信APP支付下单
func AppPreOrder(ctx context.Context, in *pb.WxpayAppPreOrderRequest) (reply *pb.WxpayAppPreOrderReply, err error) {
	// parse authorization meta.
	_, err = service.ParseMetaCtx(ctx, nil)
	if err != nil {
		return nil, err
	}

	// TODO: valid code

	// TODO: add your logic code & delete this line.

	return
}
