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