12345678910111213141516171819202122232425 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- use think\Db;
- class AttendanceGroupClass extends Base
- {
- // 列表
- public function listDuringMonth(){
- $groupId = input('groupId/d',0);
- $month = input('month','','trim');
- $ret = model('AttendanceGroupClass')->listDuringMonth($month,$groupId,$this->orgId);
- HelpHander::success($ret);
- }
- // 新增
- public function batchSave(){
- model('AttendanceGroupClass')->add();
- HelpHander::success([],'操作成功');
- }
- }
|