diff --git a/src/apis/home.ts b/src/apis/home.ts index 8cadf90..64e029d 100644 --- a/src/apis/home.ts +++ b/src/apis/home.ts @@ -1,3 +1,5 @@ import http from 'libs/http' export const setTargetTemperature = (params: Home.SetTargetTemperatureParams): Promise => http.post('/heat/target-temperature', params) +export const trayIn = (): Promise => http.post('/tray/in') +export const trayOut = (): Promise => http.post('/tray/out') diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 087bf64..21e838a 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,10 +1,12 @@