replys edit

This commit is contained in:
toogee 2020-10-12 13:15:02 +08:00
parent 3aeb7fd314
commit ca4d6cbcd8
2 changed files with 1 additions and 1 deletions

View File

@ -51,6 +51,7 @@ class Comment extends BaseController
$comms = CommentModel::find($id);
$res['rows'] = [];
if($comms) {
$res['status'] = 0;
$res['rows']['content'] = $comms['content'];
}
return json($res);

View File

@ -37,7 +37,6 @@
</div>
<div class="layui-form-item">
<input type="checkbox" name="remember" title="记住密码" lay-skin="primary" lay-filter="remember" value="1" checked>
<a href="{:url('login/forget')}">忘记密码?</a>
</div>
<div class="layui-form-item">
<button type="submit" name="submit" class="layui-btn" lay-filter="user" lay-submit id="login">立即登录</button>