(ctx *gin.Context, keyword string, serviceId string)
| 25 | } |
| 26 | |
| 27 | func (i *imlAPIController) Search(ctx *gin.Context, keyword string, serviceId string) ([]*router_dto.Item, error) { |
| 28 | return i.module.Search(ctx, keyword, serviceId) |
| 29 | } |
| 30 | |
| 31 | func (i *imlAPIController) Create(ctx *gin.Context, serviceId string, dto *router_dto.Create) (*router_dto.SimpleDetail, error) { |
| 32 | return i.module.Create(ctx, serviceId, dto) |