diff --git a/rpc/payment/pb/payment.pb.go b/rpc/payment/pb/payment.pb.go index b6efbd5..732df15 100644 --- a/rpc/payment/pb/payment.pb.go +++ b/rpc/payment/pb/payment.pb.go @@ -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"` diff --git a/services/order/internal/logic/orderInfoLogic.go b/services/order/internal/logic/orderInfoLogic.go index 73a7e87..f8c7fd5 100644 --- a/services/order/internal/logic/orderInfoLogic.go +++ b/services/order/internal/logic/orderInfoLogic.go @@ -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" diff --git a/services/payment/internal/logic/refundLogic.go b/services/payment/internal/logic/refundLogic.go index 15af415..ea7e19e 100644 --- a/services/payment/internal/logic/refundLogic.go +++ b/services/payment/internal/logic/refundLogic.go @@ -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"