Преглед на файлове

根据水表编码获取客户信息换成post请求

wangli преди 4 години
родител
ревизия
0f5086d1ca
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      smart-city-platform/src/main/java/com/bz/smart_city/controller/pay/PayBaseAccountController.java

+ 2 - 2
smart-city-platform/src/main/java/com/bz/smart_city/controller/pay/PayBaseAccountController.java

@@ -154,10 +154,10 @@ public class PayBaseAccountController {
             return new AjaxMessage(1,"未查询到有效数据","");
         }
     }
-    @GetMapping("/getAccountInfoByMetercode")
+    @PostMapping("/getAccountInfoByMetercode")
     @ApiOperation("根据水表编码获取客户信息")
     public AjaxMessage<List<AccountInfo>> getAccountInfoByMetercode(
-            @ApiParam(value = "水表编码") Map<String,Object> args){
+            @ApiParam(value = "水表编码") @RequestBody Map<String,Object> args){
         if(args.containsKey("metercodes")){
             List<String> metercodes = (List<String>)args.get("metercodes");
             if(metercodes.size() > 0){