//package com.gree.mall.miniapp.controller.tag;
//
//import com.gree.mall.miniapp.bean.tag.WxCustomerTagBean;
//import com.gree.mall.miniapp.exception.RemoteServiceException;
//import com.gree.mall.miniapp.helper.ResponseHelper;
//import com.gree.mall.miniapp.logic.tag.TagLogic;
//import com.gree.mall.miniapp.plus.entity.Tag;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//import javax.servlet.http.HttpServletRequest;
//
//@Slf4j
//@RestController
//@Api(value = "标签", tags ={"标签"} )
//@RequestMapping(value = "/tag", produces = "application/json; charset=utf-8")
//public class TagController {
//
//    @Autowired
//    private TagLogic tagLogic;
//
//
//    @GetMapping("/wx/customer")
//    @ApiOperation(value = "微信客户列表")
//    public ResponseHelper wxCustomerList(HttpServletRequest request) throws RemoteServiceException {
//        return ResponseHelper.success(tagLogic.wxCustomerList(request));
//    }
//
//
//
//    @GetMapping("/wx/tag/list")
//    @ApiOperation(value = "根据外部联系人unionId获取标签列表")
//    public ResponseHelper wxTagList(HttpServletRequest request, @ApiParam(required = true, value = "用户id") @RequestParam(required = true) String unionId) throws RemoteServiceException {
//        return ResponseHelper.success(tagLogic.tagList(request,unionId));
//    }
//
//
//    @PostMapping("/custom/edit")
//    @ApiOperation("打标签")
//    public ResponseHelper tagEdit(
//            HttpServletRequest request,
//            @ApiParam(value = "标签数据", required = true) @RequestBody WxCustomerTagBean wxCustomerTagBean) throws RemoteServiceException {
//        tagLogic.edit(request,wxCustomerTagBean);
//        return ResponseHelper.success();
//    }
//
//
//}
