1
This commit is contained in:
@@ -122,6 +122,8 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
|
||||
globals.SugarLogger.Debug("Get Order waybill rider info err MT:%v", err)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
@@ -359,6 +361,7 @@ func UpdateFakeWayBillToTiktok() {
|
||||
}
|
||||
|
||||
for i := 0; i < len(fakeWayBill); i++ {
|
||||
globals.SugarLogger.Debugf("=======fakeWayBill orderID : %s", fakeWayBill[i].VendorOrderID)
|
||||
// 判断当前订单是否可以推送,UpdatedAt > 当前时间 就跳过
|
||||
if fakeWayBill[i].StatusTime.After(time.Now()) {
|
||||
continue
|
||||
|
||||
@@ -1,7 +1,19 @@
|
||||
package delivery
|
||||
|
||||
import "testing"
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRider(t *testing.T) {
|
||||
GetOrderRiderInfoToPlatform("144228632526740576", 0)
|
||||
}
|
||||
|
||||
func TestCcc(t *testing.T) {
|
||||
aa := utils.Float64ToStr(jxutils.IntCoordinate2Standard(103989607))
|
||||
bb := utils.Float64ToStr(jxutils.IntCoordinate2Standard(30560797))
|
||||
fmt.Println(aa)
|
||||
fmt.Println(bb)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user