msg
This commit is contained in:
parent
4005962590
commit
30dc7d629f
@ -7,11 +7,8 @@ use think\model\concern\SoftDelete;
|
||||
class Message extends Model
|
||||
{
|
||||
use SoftDelete;
|
||||
protected $pk = 'id'; //主键
|
||||
protected $autoWriteTimestamp = true; //开启自动时间戳
|
||||
protected $createTime = 'create_time';
|
||||
protected $updateTime = 'update_time';
|
||||
protected $deleteTime = 'delete_time';
|
||||
protected $defaultSoftDelete = 0;
|
||||
|
||||
//用户关联评论
|
||||
public function user()
|
||||
|
@ -7,11 +7,9 @@ use think\Db;
|
||||
|
||||
class MessageTo extends Model
|
||||
{
|
||||
protected $pk = 'id'; //主键
|
||||
protected $autoWriteTimestamp = true; //开启自动时间戳
|
||||
protected $createTime = 'create_time';
|
||||
protected $updateTime = 'update_time';
|
||||
|
||||
use SoftDelete;
|
||||
protected $deleteTime = 'delete_time';
|
||||
protected $defaultSoftDelete = 0;
|
||||
//用户关联评论
|
||||
public function user()
|
||||
{
|
||||
|
@ -213,7 +213,7 @@ layui.use('form', function(){
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
layui.cache.page = '';
|
||||
layui.cache.page = 'jie';
|
||||
layui.cache.user = {
|
||||
username: '游客'
|
||||
,uid: -1
|
||||
@ -227,5 +227,6 @@ layui.use('form', function(){
|
||||
}).extend({
|
||||
fly: 'index'
|
||||
}).use('fly');
|
||||
});
|
||||
</script>
|
||||
{/block}
|
@ -1,10 +1,8 @@
|
||||
|
||||
{extend name="public/base" /}
|
||||
|
||||
{block name="title"}{$article.title}-{$sysInfo.webname}{/block}
|
||||
{block name="keywords"}{$article.title},{$article.tags}{/block}
|
||||
{block name="description"}{$article.title},{:getArtContent($article.content)}{/block}
|
||||
{block name="column"}{include file="/public/column" /}{/block}
|
||||
{block name="column"}<div class="layui-hide-xs">{include file="/public/column" /}</div>{/block}
|
||||
{block name="content"}
|
||||
<div class="layui-container">
|
||||
<div class="layui-row layui-col-space15">
|
||||
|
@ -226,7 +226,7 @@ layui.use('form', function(){
|
||||
</script>
|
||||
|
||||
<script>
|
||||
layui.cache.page = '';
|
||||
layui.cache.page = 'jie';
|
||||
layui.cache.user = {
|
||||
username: '游客'
|
||||
,uid: -1
|
||||
@ -240,5 +240,6 @@ layui.use('form', function(){
|
||||
}).extend({
|
||||
fly: 'index'
|
||||
}).use('fly');
|
||||
});
|
||||
</script>
|
||||
{/block}
|
@ -55,7 +55,7 @@
|
||||
layer.open({
|
||||
type: 1,
|
||||
skin: 'layui-layer-rim', //加上边框
|
||||
area: ['500px', '350px'], //宽高
|
||||
area: ['400px', '350px'], //宽高
|
||||
content: '<div class="layui-form" style="padding: 10px 20px 0 20px;"> '+ res.content +'</div>'
|
||||
}),
|
||||
othis.next().html('已读');
|
||||
|
Loading…
Reference in New Issue
Block a user