Sfoglia il codice sorgente

将任务号、包、耳标号都将POST修改为GET

zhuoning 3 anni fa
parent
commit
84e74372f7

+ 1 - 1
huimv-manage/src/main/java/com/huimv/manage/controller/ApplyController.java

@@ -108,7 +108,7 @@ public class ApplyController {
      * @Date        : 2021/10/29       
      * @Time        : 11:08
      */
-    @RequestMapping(value = "/setReturnDownloadState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setReturnDownloadState",method = RequestMethod.GET)
     public Result setReturnDownloadState(@RequestParam(value = "applyId") int applyId) throws UnsupportedEncodingException {
         // Step1.构造请求字串
         // Step2.发送请求传

+ 4 - 4
huimv-manage/src/main/java/com/huimv/manage/controller/EarmarkController.java

@@ -77,7 +77,7 @@ public class EarmarkController {
      * @Date        : 2021/10/29       
      * @Time        : 22:59
      */
-    @RequestMapping(value = "/setUpdateDownState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setUpdateDownState",method = RequestMethod.GET)
     public Result setUpdateDownState(@RequestParam(value = "earmarkIDs") String earmarkIDs) throws UnsupportedEncodingException {
         //
         return earmarkService.setUpdateDownState(earmarkIDs);
@@ -93,7 +93,7 @@ public class EarmarkController {
      * @Date        : 2021/10/29       
      * @Time        : 23:55
      */
-    @RequestMapping(value = "/setProduceState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setProduceState",method = RequestMethod.GET)
     public Result setProduceState(@RequestParam(value = "ids") String ids,@RequestParam(value = "state") int state){
         //
         return earmarkService.setProduceState(ids,state);
@@ -109,7 +109,7 @@ public class EarmarkController {
      * @Date        : 2021/10/30       
      * @Time        : 0:02
      */
-    @RequestMapping(value = "/setWriteState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setWriteState",method = RequestMethod.GET)
     public Result setWriteState(@RequestParam(value = "ids") String ids,@RequestParam(value = "state") int state){
         //
         return earmarkService.setWriteState(ids,state);
@@ -125,7 +125,7 @@ public class EarmarkController {
      * @Date        : 2021/10/30       
      * @Time        : 0:03
      */
-    @RequestMapping(value = "/setPrintState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setPrintState",method = RequestMethod.GET)
     public Result setPrintState(@RequestParam(value = "ids") String ids,@RequestParam(value = "state") int state){
         //
         return earmarkService.setPrintState(ids,state);

+ 2 - 2
huimv-manage/src/main/java/com/huimv/manage/controller/PackageController.java

@@ -85,7 +85,7 @@ public class PackageController {
      * @Date        : 2021/10/29       
      * @Time        : 18:51
      */
-    @RequestMapping(value = "/setReturnDownloadState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setReturnDownloadState",method = RequestMethod.GET)
     public Result setReturnDownloadState(@RequestParam(value = "packageIds") String packageIds,@RequestParam(value = "ids") String ids) throws UnsupportedEncodingException {
         //
         return packageService.setReturnDownloadState(packageIds,ids);
@@ -101,7 +101,7 @@ public class PackageController {
      * @Date        : 2021/10/29       
      * @Time        : 19:22
      */
-    @RequestMapping(value = "/setProduceState",method = RequestMethod.POST)
+    @RequestMapping(value = "/setProduceState",method = RequestMethod.GET)
     public Result setProduceState(@RequestParam(value = "ids") String ids,@RequestParam(value = "state") int state){
         //
         return packageService.setProduceState(ids,state);