实现代码
$userCostRecord = $this->costRecordModel->field('sum(`cr_cost_money`) as cr_cost_money,cr_time')->order('cr_time desc')->group("DATE_FORMAT(FROM_UNIXTIME(cr_time),'%Y-%m-%d')")->select();
显示效果
$userCostRecord = $this->costRecordModel->field('sum(`cr_cost_money`) as cr_cost_money,cr_time')->order('cr_time desc')->group("DATE_FORMAT(FROM_UNIXTIME(cr_time),'%Y-%m-%d')")->select();
上一篇:【css】pre标签实现自动换行
下一篇:【SVN钩子】不能自动更新成功
基于nginx-ingress不同域名和访问路径的请求量弹性指定后端工作负载。
author:咔咔 request()->ip()
5.1版本开始,官网不再提供下载版本,请使用Composer或者gi
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M