- 清理京东活动API的一些小问题

This commit is contained in:
gazebo
2019-05-15 09:40:57 +08:00
parent a42516c76e
commit 25177457bb
6 changed files with 40 additions and 42 deletions

View File

@@ -14,8 +14,8 @@ func TestOrderDiscountQueryActivityInfoById(t *testing.T) {
t.Log(utils.Format4Output(result, false))
}
func TestQueryPromotionInfo2(t *testing.T) {
result, err := api.QueryPromotionInfo2(43430316)
func TestQueryPromotionInfo(t *testing.T) {
result, err := api.QueryPromotionInfo(43430316)
if err != nil {
t.Fatal(err)
}