- change jd cookie

This commit is contained in:
gazebo
2019-01-11 10:37:16 +08:00
parent 5a790f0596
commit 5f995dc927
2 changed files with 12 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import (
"testing"
"git.rosy.net.cn/baseapi"
"git.rosy.net.cn/baseapi/utils"
)
func TestGetRealMobileNumber4Order(t *testing.T) {
@@ -18,3 +19,13 @@ func TestGetRealMobileNumber4Order(t *testing.T) {
}
baseapi.SugarLogger.Debug(mobile)
}
func TestGetStoreOrderInfo(t *testing.T) {
orderId := "820995196000122"
// desiredMobile := "18569035610"
orderInfo, err := jdapi.GetStoreOrderInfo(orderId)
if err != nil {
t.Fatal(err)
}
baseapi.SugarLogger.Debug(utils.Format4Output(orderInfo, false))
}