@PostMapping("/insertOrUpdate")
    public ShenyuAdminResult createOrUpdate(@Valid @RequestBody final DetailDTO detailDTO) {
        return ShenyuAdminResult.success(ShenyuResultMessage.SUCCESS, detailService.createOrUpdate(detailDTO));
    }
create or update detailDTO.

@param detailDTO detailDTO.
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/DetailController.java