作者 朱兆平

update:

1. 所有HTTP模式取消Restful方式,只支持POST与GET.因为机场安防配置的原因.

2. 目录监控接口提供

Signed-off-by: mrz <17966059@qq.com>
... ... @@ -40,7 +40,7 @@ public class DomTransController {
}
@ApiOperation(value = "删除转运申请")
@DeleteMapping("dom")
@PostMapping("dom")
@UserPermissionCheck
public ResultJson del(@RequestBody DOMTRANSIT domtransit,@CookieValue("username") String username,@CookieValue("userid") String userid){
return domTransitService.deleteByPrimaryKey(domtransit.getId())>0 ? new ResultJson("200","删除成功") :new ResultJson("400","删除失败");
... ... @@ -54,7 +54,7 @@ public class DomTransController {
}
@ApiOperation(value = "修改转运申请",notes = "id必须传")
@PutMapping("dom")
@PostMapping("dom")
@UserPermissionCheck
public ResultJson update(@Validated(ValidateUpdate.class) @RequestBody DOMTRANSIT domtransit,@CookieValue("username") String username,@CookieValue("userid") String userid){
return domTransitService.updateByPrimaryKeySelective(domtransit)>0 ? new ResultJson("200","修改成功") :new ResultJson("400","修改失败");
... ...
... ... @@ -36,7 +36,7 @@ public class NmmsController {
private String whiteIP;
@ApiOperation(value = "删除分单信息", notes = "awba主单号格式\\d{3}-\\d{8},awbh分单号")
@DeleteMapping("/delOriginAWBH")
@PostMapping("/delOriginAWBH")
public ResultJson getCustomMessageId(@RequestParam(value = "awba",required = true) String awba,
@RequestParam(value = "awbh",required = true) String awbh,
@RequestParam(value = "flightDate",required = true) String flightDate,
... ...