Files
baseapi/platformapi/mtwmapi/food_test.go
邹宗楠 bbf1c3ee6d 1
2023-09-01 19:59:25 +08:00

21 lines
333 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", "305011066")
}