update backend
This commit is contained in:
@ -32,7 +32,7 @@ type indexService struct {
|
||||
}
|
||||
|
||||
// NewIndexService 创建首页数据服务。
|
||||
// img 负责把库里存储的七牛 key 拼装为可访问 URL(首页统一普通图)。
|
||||
// img 负责把库里存储的S4 key 拼装为可访问 URL(首页统一普通图)。
|
||||
func NewIndexService(brands repository.BrandRepository, img *imgurl.Composer) IndexService {
|
||||
return &indexService{brands: brands, img: img}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user