You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
520 B
24 lines
520 B
package goods
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"recook/internal/back"
|
|
"recook/internal/v2/lib/common"
|
|
"recook/internal/v2/logic/supplier/goods"
|
|
)
|
|
|
|
type Category struct {
|
|
}
|
|
|
|
func (cate *Category) Select(c *gin.Context) {
|
|
userId, _ := common.GetGysMainId(c)
|
|
result := goods.CategoryLogic.Select(userId)
|
|
back.Suc(c, "操作成功", result)
|
|
}
|
|
|
|
func (cate *Category) Export(c *gin.Context) {
|
|
userId, _ := common.GetGysMainId(c)
|
|
result := goods.CategoryLogic.Export(userId)
|
|
back.Suc(c, "操作成功", result)
|
|
}
|