//package com.gree.mall.manager.controller.tag;
//
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.gree.mall.manager.bean.goods.GoodsTypeCount;
//import com.gree.mall.manager.helper.ResponseHelper;
//import com.gree.mall.manager.logic.tag.TagLogic;
//import com.gree.mall.manager.plus.entity.Tag;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//import lombok.extern.slf4j.Slf4j;
//import me.chanjar.weixin.common.error.WxErrorException;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.servlet.http.HttpServletRequest;
//
//@Slf4j
//@RestController
//@Api(value = "标签管理", tags ={"标签管理"} )
//@RequestMapping(value = "/tag", produces = "application/json; charset=utf-8")
//public class TagController {
//
//    @Autowired
//    TagLogic tagLogic;
//
//
//    @GetMapping("/list")
//    @ApiOperation("微信标签列表")
//    public ResponseHelper<IPage<Tag>> list(
//            HttpServletRequest request,
//            @ApiParam(value = "页号",required = true) @RequestParam Integer pageNum,
//            @ApiParam(value = "页大小",required = true) @RequestParam Integer pageSize
//    ){
//        IPage<Tag> list = tagLogic.list(request, pageNum, pageSize);
//        return ResponseHelper.success(list);
//    }
//
//    @GetMapping("/sync")
//    @ApiOperation("同步最新的企业微信标签")
//    public ResponseHelper sync(HttpServletRequest request) throws WxErrorException {
//        tagLogic.sync(request);
//        return ResponseHelper.success();
//    }
//
//
//
//
//
//
//}
