Files
baseapi/platformapi/mtwmapi/food_test.go
邹宗楠 3024f1ba5e 1
2023-08-19 10:49:54 +08:00

21 lines
335 B
Go

package mtwmapi
import (
"testing"
)
func TestFoodList(t *testing.T) {
result, err := api.FoodList(testPoiCode, 0, 200)
if err != nil {
t.Fatal(err)
}
if len(result) == 0 {
t.Fatal("should have food")
}
// t.Log(result)
}
func TestGetSkuPurchasePrice(t *testing.T) {
api.GetSkuPurchasePrice("18048546", "16295939515")
}