fastadmin table js 自定义样式css
{field: 'introduce', title: __('Introduce'),oprate:'Like',cellStyle: {css: {"max-width": "80px","white-space":"nowrap","overflow":"hidden","text-overflow":"ellipsis"}}},
{field: 'introduce', title: __('Introduce'),oprate:'Like',cellStyle: {css: {"max-width": "80px","white-space":"nowrap","overflow":"hidden","text-overflow":"ellipsis"}}},
/*
*参数 param day 近几天
*参数 param size 间隔几天
*/
public function card_list(){
$day=$this->request->param('day',1);
$size=$this->request->param('size',1);
#时间计算
$start_time =strtotime('-'.$day.' day');
$current_date =date('Y-m-d',$start_time);
$current_m=date('m',$start_time);
$current_d=date('d',$start_time);
$current_Y=date('Y',$start_time);
$start_date =$current_date.' 00:00:01';
$end_date = date('Y-m-d H:i:s',mktime(0,0,0,$current_m,$current_d+$size,$current_Y)-1);
echo $start_date;
echo '<br>';
echo $end_date;
}
CDbCommand 无法执行 SQL 语句: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xDB~***\x9A' for column 'message' at row 1. The SQL statement executed was: INSERT INTO `sys_log` (`user_id`, `user_name`, `category`, `log_type`, `level`, `message`, `log_ip`, `log_time`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5, :yp6, :yp7)
YIi报错
待解决
硬盘检测试小工具HD Tune 2.5版
ypjcxfgj.zip