|
|
@ -17,7 +17,7 @@ public class BackDoorController { |
|
|
|
private BackDoorService backDoorService; |
|
|
|
|
|
|
|
@PostMapping("backdoor") |
|
|
|
public Result backDoor(@RequestHeader("Data-Type")String dataType, @RequestHeader("AppId")String appId, @RequestHeader("target")String target, @RequestBody Object o){ |
|
|
|
public Result backDoor(@RequestHeader("Data-Type")String dataType, @RequestHeader("AppId")String appId, @RequestHeader("target")String target, @RequestBody(required = false) Object o){ |
|
|
|
return new Result().ok(backDoorService.backDoor(dataType,appId,target,o)); |
|
|
|
} |
|
|
|
|
|
|
|