Browse Source

Update CmsPrefrenceAreaController.java

macro 2 years ago
parent
commit
9f86115efe

+ 3 - 1
mall-admin/src/main/java/com/macro/mall/controller/CmsPrefrenceAreaController.java

@@ -5,6 +5,7 @@ import com.macro.mall.model.CmsPrefrenceArea;
 import com.macro.mall.service.CmsPrefrenceAreaService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import io.swagger.v3.oas.annotations.tags.Tag;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -18,7 +19,8 @@ import java.util.List;
  * Created by macro on 2018/6/1.
  */
 @Controller
-@Api(tags = "CmsPrefrenceAreaController", description = "商品优选管理")
+@Api(tags = "CmsPrefrenceAreaController")
+@Tag(name = "CmsPrefrenceAreaController", description = "商品优选管理")
 @RequestMapping("/prefrenceArea")
 public class CmsPrefrenceAreaController {
     @Autowired