qn-code-msg
Advanced tools
+1
-1
| { | ||
| "name": "qn-code-msg", | ||
| "version": "0.0.4", | ||
| "version": "0.0.5", | ||
| "main": "src/index.ts", | ||
@@ -5,0 +5,0 @@ "scripts": { |
+2
-2
@@ -180,3 +180,3 @@ import { code_msg } from "../utils/constants.js"; | ||
| try { | ||
| const response = await axios.post<ApiResponse>(config.address, {}, { | ||
| const response: ApiResponse = await axios.post(config.address, {}, { | ||
| headers: { | ||
@@ -187,3 +187,3 @@ 'Content-Type': 'application/json' | ||
| const { errorCode, errorMsg, result } = response.data; | ||
| const { errorCode, errorMsg, result } = response; | ||
@@ -190,0 +190,0 @@ // 验证接口返回状态 |
1197782
0