feat:api文件整理
Showing
1 changed file
with
0 additions
and
36 deletions
src/api/journal.js
deleted
100644 → 0
| 1 | import request from '@/utils/request' | ||
| 2 | import SERVER from './config' | ||
| 3 | |||
| 4 | class journal { | ||
| 5 | // 重新抽取 | ||
| 6 | async extractionAndInsertData (id) { | ||
| 7 | return request({ | ||
| 8 | url: SERVER.SERVERAPI + '/sjsbFunctionOper/extractionAndInsertData', | ||
| 9 | method: 'get', | ||
| 10 | params: { | ||
| 11 | msgid: id | ||
| 12 | } | ||
| 13 | }) | ||
| 14 | } | ||
| 15 | // 错误日志查询 | ||
| 16 | async queryErrorLog (id) { | ||
| 17 | return request({ | ||
| 18 | url: SERVER.SERVERAPI + '/sjsbFunctionOper/queryErrorLog', | ||
| 19 | method: 'get', | ||
| 20 | params: { | ||
| 21 | msgid: id | ||
| 22 | } | ||
| 23 | }) | ||
| 24 | } | ||
| 25 | // 校验报文 | ||
| 26 | async checkSjsbXmlDatas (id) { | ||
| 27 | return request({ | ||
| 28 | url: SERVER.SERVERAPI + '/sjsbFunctionOper/checkSjsbXmlDatas', | ||
| 29 | method: 'get', | ||
| 30 | params: { | ||
| 31 | msgid: id | ||
| 32 | } | ||
| 33 | }) | ||
| 34 | } | ||
| 35 | } | ||
| 36 | export default new journal() | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment