17 lines
332 B
Go
17 lines
332 B
Go
package controller
|
|
|
|
import (
|
|
"context"
|
|
|
|
"slogan-agent/styleagent/model/dto"
|
|
"slogan-agent/styleagent/service"
|
|
)
|
|
|
|
type hairstyle struct{}
|
|
|
|
var Hairstyle = new(hairstyle)
|
|
|
|
func (c *hairstyle) List(ctx context.Context, req *dto.HairstyleListReq) (res *dto.HairstyleListRes, err error) {
|
|
return service.HairstyleService.List(ctx)
|
|
}
|