src/main/java/com/zy/common/utils/LiftUtils.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/common/utils/LiftUtils.java
@@ -185,7 +185,8 @@ .setJson(JSON.toJSONString(data)) .build() .doPost(); if (response.equals("ok")) { JSONObject result = JSON.parseObject(response); if (result.getInteger("code") == 200) { return true;//有出库权限 } }catch (Exception e){ @@ -234,8 +235,9 @@ .setJson(JSON.toJSONString(data)) .build() .doPost(); if (response.equals("ok")) { return true;//有入库权限 JSONObject result = JSON.parseObject(response); if (result.getInteger("code") == 200) { return true;//有出库权限 } } catch (Exception e) { e.printStackTrace();