12345678910111213141516171819202122232425 |
- <?php
- /**
- * Author: luzheng.liu
- * Time: 2021/5/7 23:14
- */
- namespace app\cron;
- use app\api\model\StoreModel;
- use think\db\Where;
- class Staff {
- // php /public/index.php /cron/Staff/turnStaff
- public function turnStaff() {
- $yDate = date('Y-m-d H:i:s', strtotime('-1 day'));
- // $storeModel = new StoreModel();
- // $storeModel->alias('s')
- // ->join('staff sta','sta.store_id = s.id')
- // ->join('allocate_staff astf','astf.staff_id = sta.id')
- // ->where([['server_start_time','','']])
- }
- }
|