gomod引用
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
package consts
|
||||
|
||||
// 订单集合常量
|
||||
// MongoDB集合常量
|
||||
const (
|
||||
// OrderCollection 订单集合
|
||||
OrderCollection = "order"
|
||||
|
||||
// 订单统计集合 - 按不同维度拆分
|
||||
OrderStatisticsCollection = "order_statistics" // 通用统计集合(兼容旧版本)
|
||||
OrderDailyStatisticsCollection = "order_daily_statistics" // 日统计集合
|
||||
OrderMonthlyStatisticsCollection = "order_monthly_statistics" // 月统计集合
|
||||
OrderQuarterlyStatisticsCollection = "order_quarterly_statistics" // 季度统计集合
|
||||
OrderYearlyStatisticsCollection = "order_yearly_statistics" // 年统计集合
|
||||
|
||||
// 各状态订单集合
|
||||
OrderPendingCollection = "orders_pending"
|
||||
OrderPaidCollection = "orders_paid"
|
||||
OrderShippedCollection = "orders_shipped"
|
||||
OrderCompletedCollection = "orders_completed"
|
||||
)
|
||||
OrderCancelledCollection = "orders_cancelled"
|
||||
OrderRefundedCollection = "orders_refunded"
|
||||
|
||||
// 支付相关集合常量
|
||||
const (
|
||||
PaymentConfigCollection = "payment_configs"
|
||||
PaymentRecordCollection = "payment_records"
|
||||
RefundRecordCollection = "refund_records"
|
||||
// 支付配置集合
|
||||
PaymentConfigCollection = "payment_config"
|
||||
|
||||
// 支付记录集合
|
||||
PaymentRecordCollection = "payment_record"
|
||||
RefundRecordCollection = "refund_record"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user