2022-08-20 14:21:51 +00:00
|
|
|
package subject
|
|
|
|
|
2022-08-26 08:56:36 +00:00
|
|
|
import "fmt"
|
2022-08-20 14:21:51 +00:00
|
|
|
|
2022-08-26 08:56:36 +00:00
|
|
|
func getOrderValue(val string) string {
|
|
|
|
return fmt.Sprintf("%s.%s", prefixes.Order, val)
|
|
|
|
}
|
|
|
|
|
|
|
|
var Order = struct {
|
2022-09-07 05:00:40 +00:00
|
|
|
UpdateORStatus string
|
|
|
|
CancelDelivery string
|
|
|
|
ChangeDeliveryStatus string
|
|
|
|
UpdateLogisticInfoFailed string
|
2022-09-08 07:47:52 +00:00
|
|
|
ORNotUpdateStatus string
|
2022-09-21 10:40:49 +00:00
|
|
|
GetSupplierOrders string
|
2022-11-02 10:18:11 +00:00
|
|
|
GetSupplierCash string
|
2022-08-26 08:56:36 +00:00
|
|
|
}{
|
2022-09-07 05:00:40 +00:00
|
|
|
UpdateORStatus: getOrderValue("update_outbound_request_status"),
|
|
|
|
CancelDelivery: getOrderValue("cancel_delivery"),
|
|
|
|
ChangeDeliveryStatus: getOrderValue("change_delivery_status"),
|
|
|
|
UpdateLogisticInfoFailed: getOrderValue("update_logistic_info_failed"),
|
2022-09-08 07:47:52 +00:00
|
|
|
ORNotUpdateStatus: getOrderValue("outbound_request_not_update_status"),
|
2022-09-21 10:40:49 +00:00
|
|
|
GetSupplierOrders: getOrderValue("get_supplier_orders"),
|
2022-11-02 10:18:11 +00:00
|
|
|
GetSupplierCash: getOrderValue("get_supplier_cash"),
|
2022-08-26 08:56:36 +00:00
|
|
|
}
|