- 重构ebaiapi.StorePage相关API,不拼接URL
This commit is contained in:
@@ -42,7 +42,7 @@ func TestGetStoreOrderInfoList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetEleCommentList(t *testing.T) {
|
||||
commentList, err := api.GetEleCommentList(utils.Str2Time("2019-02-25 00:00:00"), utils.Str2Time("2019-02-25 23:30:00"), "", "", ReplyStatusAll, CommentLevelAll, CommentContentAll)
|
||||
commentList, err := api.GetEleCommentList(utils.Str2Time("2019-06-25 00:00:00"), utils.Str2Time("2019-06-25 23:30:00"), "", "", ReplyStatusAll, CommentLevelAll, CommentContentAll)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -115,7 +115,7 @@ func TestGetStoreList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetStoreList2(t *testing.T) {
|
||||
result, err := api.GetStoreList2(104.057218, 30.6949)
|
||||
result, err := api.GetStoreList2(120.074911, 29.306863)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -131,7 +131,7 @@ func TestGetStoreInfo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetStoreInfo2(t *testing.T) {
|
||||
result, err := api.GetStoreInfo2("170879219")
|
||||
result, err := api.GetStoreInfo2("2233065925")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user