芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/controllers/DashboardController.php
count(); $licenses=CustomerLicense::find()->count(); $payments=Payment::find()->where(['DATE_FORMAT(payment_date,"%Y-%m-%d")'=>$now])->sum('amount'); return ['customers'=>$customers,'licenses'=>$licenses,'payments'=>$payments]; } }