美团属性值改了
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package jdapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -114,15 +112,6 @@ func TestUpdateStoreConfig4Open(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetDeliveryRangeByStationNo(t *testing.T) {
|
||||
const testStoreID = "11734851"
|
||||
result, err := api.GetDeliveryRangeByStationNo2(testStoreID)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
baseapi.SugarLogger.Debug(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestDisableAutoOrder4AllStores(t *testing.T) {
|
||||
storeIDs, err := api.GetStationsByVenderId()
|
||||
if err != nil {
|
||||
@@ -154,13 +143,12 @@ func TestUpdateStoreFreightConfigNew(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestAA(t *testing.T) {
|
||||
str := "您的快件正在派送中,请您准备签收(快递员:赵磊,联系电话:18884041675)"
|
||||
regexpCnameAndCmobile2 := regexp.MustCompile(`(快递员:(.*),联系电话:(.*))`)
|
||||
result := regexpCnameAndCmobile2.FindAllStringSubmatch(str, -1)
|
||||
if len(result) > 0 {
|
||||
cName := result[0][1]
|
||||
cMobile := result[0][2]
|
||||
fmt.Println(cName, cMobile)
|
||||
func TestGetDeliveryRangeByStationNo(t *testing.T) {
|
||||
const testStoreID = "11732462"
|
||||
result, err := api.GetDeliveryRangeByStationNo2(testStoreID)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
baseapi.SugarLogger.Debug(utils.Format4Output(result, false))
|
||||
// fmt.Println("tetet11111111111111111111111111111111", computeSignedArea(strings.Split(result.DeliveryRange, ";")))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user