From c61be765fe40fce1a57471a8fc8b93932c0a970c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期六, 02 四月 2022 15:37:50 +0800 Subject: [PATCH] Merge branch 'jkasrs' of http://47.97.1.152:5880/r/zy-asrs into jkasrs --- src/main/java/com/zy/asrs/controller/MatController.java | 2 +- src/main/webapp/views/pda/matQuery.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/MatController.java b/src/main/java/com/zy/asrs/controller/MatController.java index b842a73..f2eccbe 100644 --- a/src/main/java/com/zy/asrs/controller/MatController.java +++ b/src/main/java/com/zy/asrs/controller/MatController.java @@ -75,7 +75,7 @@ return R.ok(matService.selectById(String.valueOf(id))); } - @RequestMapping(value = "/matCode/auth0") + @RequestMapping(value = "/mat/auth") @ManagerAuth public R find(@RequestParam("matnr") String matnr) { return R.ok(matService.selectOne(new EntityWrapper<Mat>().eq("matnr", matnr))); diff --git a/src/main/webapp/views/pda/matQuery.html b/src/main/webapp/views/pda/matQuery.html index 656acdc..1c2b07b 100644 --- a/src/main/webapp/views/pda/matQuery.html +++ b/src/main/webapp/views/pda/matQuery.html @@ -115,10 +115,10 @@ return; } $.ajax({ - url: baseUrl + "/matCode/auth", + url: baseUrl + "/mat/auth", headers: {'token': localStorage.getItem('token')}, data: { - id: el.value + matnr: el.value }, method: 'POST', success: function (res) { -- Gitblit v1.9.1