專案

一般

配置概況

Web #81

是由 冠賢 李8 個月 前更新

*POST /api/employee/attendances* /api/auth/login* 

 *輸入格式:* 
 無 

 *回傳格式:* 
 <pre><code class="javascript"> 
 [ 
   { 
     "date": "string", 
     "dayOfWeek": "string", 
     "punchInTime": "string", 
     "punchOutTime": "string" 
   } 
 ] 
 </code></pre> 
 *相關資料表* 
 EmployeeAttendace 

 *功能說明* 
 1.回傳當下登入使用者 30 天內的打卡資料 (包含當天) 
 2.若該日沒有任何打卡資料也要回傳,只是上班打卡時間、下班打卡時間為空 
 3. date 格式為 yyyy-MM-dd 
 4. dayOfWeek 格式為 "一", "二", "三","四","五","六","日"

返回