京东eclp物流新参数

This commit is contained in:
苏尹岚
2020-03-06 13:48:51 +08:00
parent 81db7b0bb3
commit 0f9d642c94
2 changed files with 68 additions and 17 deletions

View File

@@ -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()
}