|
@@ -15,8 +15,8 @@ type EdbClassifyController struct {
|
|
|
// @Description 查询/新增分类接口
|
|
|
// @Param request body models.AddEdbClassifyReq true "type json string"
|
|
|
// @Success 200 {object} models.EdbClassify
|
|
|
-// @router /classify/get_or_add [post]
|
|
|
-func (this *EdbClassifyController) AddEdbClassify() {
|
|
|
+// @router /get_or_add [post]
|
|
|
+func (this *EdbClassifyController) GetOrAdd() {
|
|
|
br := new(models.BaseResponse).Init()
|
|
|
defer func() {
|
|
|
this.Data["json"] = br
|