Kaynağa Gözat

更新

master
huangjiajun 6 ay önce
ebeveyn
işleme
5cc25fd098
5 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. +1
    -1
      app/task/svc/svc_didi_order.go
  2. +1
    -1
      app/task/svc/svc_elm_order.go
  3. +1
    -1
      app/task/svc/svc_hw_order.go
  4. +1
    -1
      app/task/svc/svc_meituan_order.go
  5. +1
    -1
      app/task/svc/svc_t3_order.go

+ 1
- 1
app/task/svc/svc_didi_order.go Dosyayı Görüntüle

@@ -127,7 +127,7 @@ func OrdersDidiGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd
res.Pvd = "own_didi_online_car"
}
ex := strings.Split(v.SourceId, "_")
if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false {
if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false || strings.Contains(v.SourceId, "ddstar") {
continue
}
orderType := 0


+ 1
- 1
app/task/svc/svc_elm_order.go Dosyayı Görüntüle

@@ -126,7 +126,7 @@ func OrdersElmGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd
res.PlatformSettleTime = int(utils.TimeStdParseUnix(*v.SettleTime))
}
ex := strings.Split(*v.Sid, "_")
if len(ex) < 4 || strings.Contains(*v.Sid, "own") == false {
if len(ex) < 4 || strings.Contains(*v.Sid, "own") == false || strings.Contains(*v.Sid, "ddstar") {
continue
}
orderType := 0


+ 1
- 1
app/task/svc/svc_hw_order.go Dosyayı Görüntüle

@@ -119,7 +119,7 @@ func AddOrder(method string, order map[string]interface{}) {

statusArr := map[string]string{"FINISHED": "订单成功", "GENERATE_SUCCESS": "订单成功", "WAIT_GENERATE": "订单付款", "WAIT_PAY": "创建订单", "CLOSED": "订单失效", "CANCELED": "订单失效", "FAIL": "订单失效", "CLOSE": "订单失效", "RETURNED": "订单失效", "UNPAID": "创建订单", "PAYED": "订单付款", "DEALING": "订单付款", "SENDING": "订单付款", "ORDER_RECEIVED": "订单付款", "RECEIVED": "订单成功", "RECEIVED_ORDER": "订单付款", "WAITING_RECEIVED": "订单付款", "WAIT_OUT_MEAL": "订单付款", "MAKING": "订单付款", "ARRIVED": "订单成功", "COMPLETE": "订单成功", "REFUNDED": "订单退款", "OUT_MEAL": "订单成功"}
userId := order["extra"]
if strings.Contains(utils.AnyToString(userId), "m") == false {
if strings.Contains(utils.AnyToString(userId), "m") == false || strings.Contains(utils.AnyToString(userId), "ddstar") {
return
}
isShare := 0


+ 1
- 1
app/task/svc/svc_meituan_order.go Dosyayı Görüntüle

@@ -150,7 +150,7 @@ func OrdersMeituanGet(nextPositionIndex string, pageSize int, sTime, eTime int64
res.PlatformSettleTime = v.UpdateTime
}
ex := strings.Split(v.Sid, "_")
if len(ex) < 3 {
if len(ex) < 3 || strings.Contains(v.Sid, "ddstar") {
continue
}
orderType := 0


+ 1
- 1
app/task/svc/svc_t3_order.go Dosyayı Görüntüle

@@ -116,7 +116,7 @@ func OrdersT3Get(p int, pageSize int, sTime, eTime int64, timeType string, pvd i
CreateTime: int(v.CreateTime / 1000),
}
ex := strings.Split(v.SourceId, "_")
if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false {
if len(ex) < 4 || strings.Contains(v.SourceId, "own") == false || strings.Contains(v.SourceId, "ddstar") {
continue
}
orderType := 0


Yükleniyor…
İptal
Kaydet