java110
2020-08-23 8c1d3836ec8eca6e441337ecd0a43fd9af112d0c
service-front/src/main/java/com/java110/front/smo/impl/PrivilegeServiceSMOImpl.java
@@ -322,7 +322,11 @@
        Assert.hasLength(pd.getUserId(), "用户未登录请先登录");
        JSONObject privilegeInfoObj = JSONObject.parseObject(pd.getReqData());
        Assert.jsonObjectHaveKey(privilegeInfoObj, "staffId", "请求报文中未包含员工ID 节点");
        //Assert.jsonObjectHaveKey(privilegeInfoObj, "staffId", "请求报文中未包含员工ID 节点");
        if (!privilegeInfoObj.containsKey("staffId")) {
            privilegeInfoObj.put("staffId", pd.getUserId());
        }
        ResponseEntity<String> storeInfo = super.getStoreInfo(pd, restTemplate);