#
Junjie
2025-09-26 c5244cbb8e98b5b3f2e6306ebfabf0333d76c6d6
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();