Created
June 17, 2021 14:05
-
-
Save Lxxyx/6667bcc24c6bf5a13a1efb3a16f2192c to your computer and use it in GitHub Desktop.
HTTP Operator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
FileType | |
} from '@midwayjs/hooks' | |
export default async ( | |
$header, // HTTP Header, Object 类型 | |
$query, // HTTP Query,Object 类型 | |
$param, // HTTP Param,Object 类型 | |
$file: FileType // File,特定类型 | |
) => { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment