提交 41d8530f 编写于 作者: 孙喜旺

接口api修改

上级 985843da
......@@ -12,6 +12,7 @@ import com.linkwechat.common.utils.poi.ExcelUtil;
import com.linkwechat.wecom.domain.WeCustomer;
import com.linkwechat.wecom.domain.vo.WeMakeCustomerTag;
import com.linkwechat.wecom.service.IWeCustomerService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.security.core.context.SecurityContext;
......@@ -27,6 +28,7 @@ import java.util.List;
* @author ruoyi
* @date 2020-09-13
*/
@Api(tags = "企业微信客户Controller")
@RestController
@RequestMapping("/wecom/customer")
public class WeCustomerController extends BaseController {
......
......@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RestControllerAdvice;
**/
@Slf4j
@RestControllerAdvice(basePackages = "com.linkwechat.web.controller.wecom")
public class WeCommonHandler {
public class WeExceptionController {
@ExceptionHandler(WeComException.class)
public AjaxResult weComException(WeComException ex){
......
......@@ -9,6 +9,7 @@ import com.linkwechat.wecom.domain.WeGroup;
import com.linkwechat.wecom.domain.WeGroupMember;
import com.linkwechat.wecom.service.IWeGroupMemberService;
import com.linkwechat.wecom.service.IWeGroupService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.core.context.SecurityContext;
......@@ -26,7 +27,7 @@ import java.util.List;
* @Description:
* @Date: create in 2020/9/21 0021 23:53
*/
@Api(tags = "客户群管理")
@RestController
@RequestMapping("/wecom/group/chat")
public class WeGroupController extends BaseController {
......
......@@ -11,6 +11,7 @@ import com.linkwechat.common.core.page.TableDataInfo;
import com.linkwechat.common.enums.BusinessType;
import com.linkwechat.common.utils.Threads;
import com.linkwechat.wecom.domain.WeTag;
import io.swagger.annotations.Api;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.context.SecurityContext;
......@@ -35,6 +36,7 @@ import java.util.List;
* @author ruoyi
* @date 2020-09-07
*/
@Api(tags = "标签组管理")
@RestController
@RequestMapping("/wecom/group")
public class WeTagGroupController extends BaseController
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册