@@ -74,18 +74,26 @@
},
{
field: 'content',
- title: '内容'
+ title: '问题描述'
+ },
+ {
+ field: 'explains',
+ title: '解析'
},
{
field: 'hits',
title: '点击量'
},
+ {
+ field: 'createTime',
+ title: '创建时间'
+ },
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- actions.push('
编辑 ');
+ actions.push('
编辑 ');
actions.push('
删除');
return actions.join('');
}
diff --git a/sql/business_20201010.sql b/sql/business_20201010.sql
index 40bd0e93e..463ead208 100644
--- a/sql/business_20201010.sql
+++ b/sql/business_20201010.sql
@@ -191,7 +191,8 @@ drop table if exists common_problem;
create table common_problem (
id bigint(20) not null auto_increment comment 'ID',
title varchar(50) not null comment '标题',
- content text not null comment '内容',
+ content text not null comment '问题描述内容',
+ explains text not null comment '内容',
hits int (6) default 0 comment '点击量',
del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)',
create_by varchar(64) default '' comment '创建者',