feat: notify pay
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
package payment
|
||||
|
||||
import (
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -82,8 +83,6 @@ func (x *Response) GetData() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// client: mini_program / app / h5
|
||||
// channel: wechat / alipay / bank
|
||||
type PayReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
OrderSn string `protobuf:"bytes,1,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"lone-services/rpc/order/pb"
|
||||
order "lone-services/rpc/order/pb"
|
||||
"lone-services/services/order/internal/svc"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
pkgpay "lone-services/pkg/payment"
|
||||
"lone-services/pkg/modelbase"
|
||||
pkgpay "lone-services/pkg/payment"
|
||||
"lone-services/pkg/utils"
|
||||
payment "lone-services/rpc/payment/pb"
|
||||
"lone-services/services/payment/internal/channel"
|
||||
|
||||
Reference in New Issue
Block a user