- OrderTypeName 4 OrderTypeAfsOrder
This commit is contained in:
@@ -65,8 +65,10 @@ func init() {
|
|||||||
func addOrderOrWaybillStatus(status *model.OrderStatus, db *dao.DaoDB) (isDuplicated bool, err error) {
|
func addOrderOrWaybillStatus(status *model.OrderStatus, db *dao.DaoDB) (isDuplicated bool, err error) {
|
||||||
if status.OrderType == model.OrderTypeOrder {
|
if status.OrderType == model.OrderTypeOrder {
|
||||||
globals.SugarLogger.Debugf("addOrderStatus order:%v", status)
|
globals.SugarLogger.Debugf("addOrderStatus order:%v", status)
|
||||||
} else {
|
} else if status.OrderType == model.OrderTypeWaybill {
|
||||||
globals.SugarLogger.Debugf("addOrderStatus waybill:%v", status)
|
globals.SugarLogger.Debugf("addOrderStatus waybill:%v", status)
|
||||||
|
} else {
|
||||||
|
globals.SugarLogger.Debugf("addOrderStatus afsOrder:%v", status)
|
||||||
}
|
}
|
||||||
dao.Begin(db)
|
dao.Begin(db)
|
||||||
defer func() {
|
defer func() {
|
||||||
|
|||||||
@@ -137,8 +137,9 @@ var (
|
|||||||
WaybillStatusFailed: "失败",
|
WaybillStatusFailed: "失败",
|
||||||
}
|
}
|
||||||
OrderTypeName = map[int]string{
|
OrderTypeName = map[int]string{
|
||||||
OrderTypeOrder: "订单",
|
OrderTypeOrder: "订单",
|
||||||
OrderTypeWaybill: "运单",
|
OrderTypeWaybill: "运单",
|
||||||
|
OrderTypeAfsOrder: "售后单",
|
||||||
}
|
}
|
||||||
|
|
||||||
MultiStoresVendorMap = map[int]int{
|
MultiStoresVendorMap = map[int]int{
|
||||||
|
|||||||
Reference in New Issue
Block a user