Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
@Summary product add @Tags Product @Description 新增 @Produce json @Security token @Param plugin body db.Webapp true "webapp" @Success 200 {object} msg.Response @Failure 200 {object} msg.Response @Router /api/v1/product/ [post]
func Delete ¶
@Summary product delete @Tags Product @Description 删除 @Produce json @Security token @Param id path int true "ID" @Success 200 {object} msg.Response @Failure 200 {object} msg.Response @Router /api/v1/product/{id}/ [delete]
func Detail ¶
@Summary product detail @Tags Product @Description 详情 @Produce json @Security token @Param id path int true "ID" @Success 200 {object} msg.Response @Failure 200 {object} msg.Response @Router /api/v1/product/{id}/ [get]
func Get ¶
@Summary product list @Tags Product @Description 列表 @Produce json @Security token @Param page query int true "Page" @Param pagesize query int true "Pagesize" @Param object query db.WebappSearchField false "field" @Success 200 {object} msg.Response @Failure 200 {object} msg.Response @Router /api/v1/product/ [get]
Types ¶
This section is empty.