mirror of
https://github.com/laochan-eacnet/backend.git
synced 2026-10-10 23:38:09 +03:00
16 lines
315 B
TypeScript
16 lines
315 B
TypeScript
import { serviceKxml } from '../../decorators/to-kxml.js';
|
|
|
|
const resp = serviceKxml('pcbtracker');
|
|
|
|
export default class {
|
|
@resp('alive')
|
|
async alive(): Promise<object> {
|
|
return {
|
|
$ecenable: 1,
|
|
$expire: 3600,
|
|
$status: 0,
|
|
$time: Math.floor(new Date().valueOf() / 1000),
|
|
};
|
|
}
|
|
}
|