doum
3 天以前 7ec3683c8e41460f4bb0bd3a6677198742313e2b
server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/web/VisitorWebController.java
@@ -71,6 +71,20 @@
    }
    @ApiOperation(value = "访客微信授权 - 阜宁运维", notes = "访客微信授权获取openId")
    @GetMapping("/ywWxAuthorize")
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", dataType = "String", name = "code", value = "授权码", required = true),
            @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "userType", value = "用户类型:0=运维人员;1=商户", required = false)
    })
    public ApiResponse<WxAuthorizeVO> ywWxAuthorize(@RequestParam String code,
                                                      @RequestParam(required = false, defaultValue = "0") Integer userType) {
        WxAuthorizeVO wxAuthorizeVO =  memberService.ywWxAuthorize(code, userType);
        return ApiResponse.success("查询成功",wxAuthorizeVO);
    }
    @ApiOperation(value = "查询被访问人信息", notes = "查询被访问人信息")
    @PostMapping("/getVisitedMember")
    public ApiResponse<List<MemberVO>> getVisitedMember(@Valid @RequestBody CheckVisitedDTO checkVisitedDTO) {