京东eclp物流新参数
This commit is contained in:
@@ -16,7 +16,7 @@ func init() {
|
||||
logger, _ := zap.NewDevelopment()
|
||||
sugarLogger = logger.Sugar()
|
||||
baseapi.Init(sugarLogger)
|
||||
api = New("", "", "")
|
||||
api = New("", "", "", "")
|
||||
}
|
||||
|
||||
func TestQuerySpSource(t *testing.T) {
|
||||
@@ -38,3 +38,11 @@ func TestGetTrackMessagePlusByOrder(t *testing.T) {
|
||||
func TestSearchShopStock(t *testing.T) {
|
||||
api.SearchShopStock(&SearchShopStockParam{})
|
||||
}
|
||||
|
||||
func TestGetTokenInfo(t *testing.T) {
|
||||
api.GetTokenInfo()
|
||||
}
|
||||
|
||||
func TestGetToken(t *testing.T) {
|
||||
api.GetToken()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user