chore: apis
This commit is contained in:
@@ -64,3 +64,13 @@ export const reloadRecordCheckByGbId = async (stationCode: string, channel: Clie
|
||||
}
|
||||
return result;
|
||||
};
|
||||
|
||||
export const reloadAllRecordCheck = async (stationCode: string, dayOffset: number) => {
|
||||
const prefix = stationCode ? `/${stationCode}` : '';
|
||||
const resp = await ndmClient.post<boolean>(`${prefix}/api/ndm/ndmRecordCheck/reloadAllRecordCheck`, dayOffset);
|
||||
const [err, result] = resp;
|
||||
if (err || !result) {
|
||||
throw err;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user