wuxw
2024-02-27 45149c4de50d945a27cbc7324ec0699f5b15df14
service-api/src/main/java/com/java110/api/smo/visit/impl/DeleteVisitSMOImpl.java
@@ -26,16 +26,10 @@
    @Override
    protected void validate(IPageData pd, JSONObject paramIn) {
        //super.validatePageInfo(pd);
        //Assert.hasKeyAndValue(paramIn, "xxx", "xxx");
        Assert.hasKeyAndValue(paramIn, "vId", "访客记录ID不能为空");
        super.checkUserHasPrivilege(pd, restTemplate, PrivilegeCodeConstant.AGENT_HAS_LIST_VISIT);
    }
    @Override
@@ -44,7 +38,7 @@
        super.validateStoreStaffCommunityRelationship(pd, restTemplate);
        responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
                ServiceConstant.SERVICE_API_URL + "/api/visit.deleteVisit",
                "visit.deleteVisit",
                HttpMethod.POST);
        return responseEntity;
    }