#
Junjie
15 小时以前 20d89f3b98d287f1d1fce06357317462903ac04c
#
1个文件已修改
8 ■■■■■ 已修改文件
src/main/java/com/zy/common/utils/LiftUtils.java 8 ●●●●● 补丁 | 查看 | 原始文档 | 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();