12345678910111213141516 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- class AttendanceGroupUser extends Base
- {
- //获取今天要打卡的考勤组
- public function mygroup(){
- $day = input('day','','trim');
- $day = $day?$day:date('Y-m-d');
- $ret = model('AttendanceGroupUser')->userGroup($this->userId,$this->orgId,$day);
- HelpHander::success($ret,'操作成功');
- }
- }
|