package controller
import (
"service/bizcommon/util"
"service/dbstruct"
"testing"
)
func TestFillMedia(t *testing.T) {
list := []*dbstruct.Product{
{
ImageIds: []int64{0, 1},
VideoIds: []int64{0, 1},
},
}
t.Log(util.ToJson(list))
FillMedia(list)