{
"speed": 5,
"styleDegree": 0,
"highDensity": 0,
"text": "apple",
"voice": "10303846",
"pitch": "0",
"sign": "0c6e1d07307194e95bfa8e9f52197225af2d05f9cb5fe19b6fca8a052a09ed04dbb47e687d317f6297cb96e68f467a6a04c7d23a8437db20636cde471279c0cc"
}
curl --location --request POST 'http://127.0.0.1:8080/user/webAudition' \
--header 'Content-Type: application/json' \
--data-raw '{
"speed": 5,
"styleDegree": 0,
"highDensity": 0,
"text": "apple",
"voice": "10303846",
"pitch": "0",
"sign": "0c6e1d07307194e95bfa8e9f52197225af2d05f9cb5fe19b6fca8a052a09ed04dbb47e687d317f6297cb96e68f467a6a04c7d23a8437db20636cde471279c0cc"
}'
Returns the pathname string of this abstract pathname's parent, or
null
if this pathname does not name a parent directory.
The parent of an abstract pathname consists of the pathname's prefix, if any, and each name in the pathname's name sequence except for the last. If the name sequence is empty then the pathname does not name a parent directory.
Returns the abstract pathname of this abstract pathname's parent,
or null
if this pathname does not name a parent
directory.
The parent of an abstract pathname consists of the pathname's prefix, if any, and each name in the pathname's name sequence except for the last. If the name sequence is empty then the pathname does not name a parent directory.
"/"
. On Microsoft Windows systems, a"\"
, or if its prefix is "\\"
.Returns the absolute pathname string of this abstract pathname.
If this abstract pathname is already absolute, then the pathname
string is simply returned as if by the {@link #getPath}
method. If this abstract pathname is the empty abstract pathname then
the pathname string of the current user directory, which is named by the
system property user.dir
, is returned. Otherwise this
pathname is resolved in a system-dependent way. On UNIX systems, a
relative pathname is made absolute by resolving it against the current
user directory. On Microsoft Windows systems, a relative pathname is made absolute
by resolving it against the current directory of the drive named by the
pathname, if any; if not, it is resolved against the current user
directory.
new File(this.{@link #getAbsolutePath})
.Returns the canonical pathname string of this abstract pathname.
A canonical pathname is both absolute and unique. The precise definition of canonical form is system-dependent. This method first converts this pathname to absolute form if necessary, as if by invoking the {@link #getAbsolutePath} method, and then maps it to its unique form in a system-dependent way. This typically involves removing redundant names such as "." and ".." from the pathname, resolving symbolic links (on UNIX platforms), and converting drive letters to a standard case (on Microsoft Windows platforms).
Every pathname that denotes an existing file or directory has a unique canonical form. Every pathname that denotes a nonexistent file or directory also has a unique canonical form. The canonical form of the pathname of a nonexistent file or directory may be different from the canonical form of the same pathname after the file or directory is created. Similarly, the canonical form of the pathname of an existing file or directory may be different from the canonical form of the same pathname after the file or directory is deleted.
new File(this.{@link #getCanonicalPath})
.Tests whether the file denoted by this abstract pathname is a
directory.
Where it is required to distinguish an I/O exception from the case that the file is not a directory, or where several attributes of the same file are required at the same time, then the{@link * java.nio.file.Files#readAttributes(Path,Class,LinkOption[]) * Files.readAttributes} method may be used.
Tests whether the file denoted by this abstract pathname is a normal
file. A file is normal if it is not a directory and, in
addition, satisfies other system-dependent criteria. Any non-directory
file created by a Java application is guaranteed to be a normal file.
Where it is required to distinguish an I/O exception from the case that the file is not a normal file, or where several attributes of the same file are required at the same time, then the{@link * java.nio.file.Files#readAttributes(Path,Class,LinkOption[]) * Files.readAttributes} method may be used.
'.'
). On Microsoft Windows systems, a file isSets the last-modified time of the file or directory named by this
abstract pathname.
All platforms support file-modification times to the nearest second,
but some provide more precision. The argument will be truncated to fit
the supported precision. If the operation succeeds and no intervening
operations on the file take place, then the next invocation of the
{@link #lastModified}
method will return the (possibly
truncated) time
argument that was passed to this method.
A convenience method to set the owner's write permission for this abstract
pathname. On some platforms it may be possible to start the Java virtual
machine with special privileges that allow it to modify files that
disallow write operations.
An invocation of this method of the form file.setWritable(arg) behaves in exactly the same way as the invocation
file.setWritable(arg, true)
A convenience method to set the owner's read permission for this abstract
pathname. On some platforms it may be possible to start the Java virtual
machine with special privileges that allow it to read files that that are
marked as unreadable.
An invocation of this method of the form file.setReadable(arg) behaves in exactly the same way as the invocation
file.setReadable(arg, true)
A convenience method to set the owner's execute permission for this
abstract pathname. On some platforms it may be possible to start the Java
virtual machine with special privileges that allow it to execute files
that are not marked executable.
An invocation of this method of the form file.setExcutable(arg) behaves in exactly the same way as the invocation
file.setExecutable(arg, true)
Returns the number of unallocated bytes in the partition named by this abstract path name.
The returned number of unallocated bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after this call. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine. This method makes no guarantee that write operations to this file system will succeed.
Returns the number of bytes available to this virtual machine on the
partition named by this abstract pathname. When
possible, this method checks for write permissions and other operating
system restrictions and will therefore usually provide a more accurate
estimate of how much new data can actually be written than{@link
The returned number of available bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after this call. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine. This method makes no guarantee that write operations to this file system will succeed.
{"code":-1,"msg":"未知错误,请联系开发者","data":null}