#
Junjie
2025-12-05 253e9b3735533c4d8c69cf5e6983d5fa1e984ae9
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();