支付回调以后更新订单状态
This commit is contained in:
+11
-11
@@ -1164,7 +1164,7 @@ type UpdateOrderPayStatusRequest struct {
|
||||
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
PayPrice float64 `protobuf:"fixed64,3,opt,name=pay_price,json=payPrice,proto3" json:"pay_price,omitempty"`
|
||||
RemitNo string `protobuf:"bytes,4,opt,name=remit_no,json=remitNo,proto3" json:"remit_no,omitempty"`
|
||||
Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||
PayType int32 `protobuf:"varint,5,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -1227,9 +1227,9 @@ func (x *UpdateOrderPayStatusRequest) GetRemitNo() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) GetType() int32 {
|
||||
func (x *UpdateOrderPayStatusRequest) GetPayType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
return x.PayType
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -1807,13 +1807,13 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\x1fUpdateOrderDeliverStatusRequest\x12\x1b\n" +
|
||||
"\tsign_time\x18\x01 \x01(\tR\bsignTime\x12%\n" +
|
||||
"\x0edeliver_status\x18\x02 \x01(\x05R\rdeliverStatus\x12\x0e\n" +
|
||||
"\x02id\x18\x03 \x01(\tR\x02id\"\x9c\x01\n" +
|
||||
"\x02id\x18\x03 \x01(\tR\x02id\"\xa3\x01\n" +
|
||||
"\x1bUpdateOrderPayStatusRequest\x12\x19\n" +
|
||||
"\border_sn\x18\x01 \x01(\tR\aorderSn\x12\x16\n" +
|
||||
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x1b\n" +
|
||||
"\tpay_price\x18\x03 \x01(\x01R\bpayPrice\x12\x19\n" +
|
||||
"\bremit_no\x18\x04 \x01(\tR\aremitNo\x12\x12\n" +
|
||||
"\x04type\x18\x05 \x01(\x05R\x04type\".\n" +
|
||||
"\bremit_no\x18\x04 \x01(\tR\aremitNo\x12\x19\n" +
|
||||
"\bpay_type\x18\x05 \x01(\x05R\apayType\".\n" +
|
||||
"\x1cUpdateOrderPayStatusResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"4\n" +
|
||||
" UpdateOrderDeliverStatusResponse\x12\x10\n" +
|
||||
@@ -1864,7 +1864,7 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"product_id\x18\x03 \x01(\x03R\tproductId\x12!\n" +
|
||||
"\fproduct_name\x18\x04 \x01(\tR\vproductName\x12\x14\n" +
|
||||
"\x05price\x18\x05 \x01(\x01R\x05price\x12\x16\n" +
|
||||
"\x06number\x18\x06 \x01(\x05R\x06number2\xbe\x0f\n" +
|
||||
"\x06number\x18\x06 \x01(\x05R\x06number2\xbd\x0f\n" +
|
||||
"\x05order\x12T\n" +
|
||||
"\x05Items\x12\x18.order.OrderItemsRequest\x1a\x0f.order.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/order/items\x12X\n" +
|
||||
"\tWebCreate\x12\x19.order.CreateOrderRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v3/order/create\x12b\n" +
|
||||
@@ -1885,8 +1885,8 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\tOrderDown\x12\x18.order.OrderItemsRequest\x1a\x1a.order.ExcelExportResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/order/down\x12O\n" +
|
||||
"\tOrderInfo\x12\x10.order.IdRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/order/info\x12k\n" +
|
||||
"\x18UpdateOrderDeliverStatus\x12&.order.UpdateOrderDeliverStatusRequest\x1a'.order.UpdateOrderDeliverStatusResponse\x12D\n" +
|
||||
"\fGetOrderInfo\x12\x1a.order.GetOrderInfoRequest\x1a\x18.order.OrderInfoResponse\x12`\n" +
|
||||
"\x15UpdateOrderDPayStatus\x12\".order.UpdateOrderPayStatusRequest\x1a#.order.UpdateOrderPayStatusResponseB\x19Z\x17lone-services/rpc/orderb\x06proto3"
|
||||
"\fGetOrderInfo\x12\x1a.order.GetOrderInfoRequest\x1a\x18.order.OrderInfoResponse\x12_\n" +
|
||||
"\x14UpdateOrderPayStatus\x12\".order.UpdateOrderPayStatusRequest\x1a#.order.UpdateOrderPayStatusResponseB\x19Z\x17lone-services/rpc/orderb\x06proto3"
|
||||
|
||||
var (
|
||||
file_order_order_proto_rawDescOnce sync.Once
|
||||
@@ -1949,7 +1949,7 @@ var file_order_order_proto_depIdxs = []int32{
|
||||
9, // 18: order.order.OrderInfo:input_type -> order.IdRequest
|
||||
17, // 19: order.order.UpdateOrderDeliverStatus:input_type -> order.UpdateOrderDeliverStatusRequest
|
||||
21, // 20: order.order.GetOrderInfo:input_type -> order.GetOrderInfoRequest
|
||||
18, // 21: order.order.UpdateOrderDPayStatus:input_type -> order.UpdateOrderPayStatusRequest
|
||||
18, // 21: order.order.UpdateOrderPayStatus:input_type -> order.UpdateOrderPayStatusRequest
|
||||
1, // 22: order.order.Items:output_type -> order.Response
|
||||
1, // 23: order.order.WebCreate:output_type -> order.Response
|
||||
1, // 24: order.order.WebCreateOne:output_type -> order.Response
|
||||
@@ -1970,7 +1970,7 @@ var file_order_order_proto_depIdxs = []int32{
|
||||
1, // 39: order.order.OrderInfo:output_type -> order.Response
|
||||
20, // 40: order.order.UpdateOrderDeliverStatus:output_type -> order.UpdateOrderDeliverStatusResponse
|
||||
22, // 41: order.order.GetOrderInfo:output_type -> order.OrderInfoResponse
|
||||
19, // 42: order.order.UpdateOrderDPayStatus:output_type -> order.UpdateOrderPayStatusResponse
|
||||
19, // 42: order.order.UpdateOrderPayStatus:output_type -> order.UpdateOrderPayStatusResponse
|
||||
22, // [22:43] is the sub-list for method output_type
|
||||
1, // [1:22] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
|
||||
Reference in New Issue
Block a user