11
This commit is contained in:
14
api/test.js
Normal file
14
api/test.js
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
import * as AxiosUtils from '../untils/AxiosUtils.js';
|
||||
|
||||
|
||||
export async function test(req) {
|
||||
const url = '/checkIn/checkInCancel';
|
||||
const rsp = await DoPost(url, req);
|
||||
if (rsp.code !== 0) {
|
||||
throw new Error(rsp.msg);
|
||||
}
|
||||
|
||||
const result = rsp.data;
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user