- change jd cookie
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user