1. 个人中心-收藏数据不对

2. 管理员查询不到用户未公开帖子
3. 注册/资料修改 成功后未提示
4. 首页帖子用户头像链接地址错误
This commit is contained in:
2018-06-10 16:58:25 +08:00
parent 08ef1781dd
commit 9e117e9e5b
5 changed files with 21 additions and 9 deletions

View File

@@ -79,7 +79,7 @@
<ul class="fly-list">
#for(x : contents.rows??)
<li>
<a href="/user/home.html" class="fly-avatar">
<a href="/user/#(x.userId)" class="fly-avatar">
<img src="#(x.avatar)" alt="#(x.nickname)">
</a>
<h2 title="#(x.title)">

View File

@@ -288,8 +288,6 @@ layui.define(['laypage', 'fly', 'element', 'flow'], function(exports){
bean:JSON.stringify({username:fdata.username, password:fdata.password})
,vercode:fdata.vercode
},function (data) {
console.log(data);
//data = JSON.parse(data);
if(data.retcode != 0){
layer.msg(data.retinfo);
return false;
@@ -330,7 +328,6 @@ layui.define(['laypage', 'fly', 'element', 'flow'], function(exports){
bean:JSON.stringify(bean)
,columns:JSON.stringify(columns)
},function (res) {
res = JSON.parse(res);
if(res.retcode != 0){
layer.msg(res.retinfo);
return false;
@@ -345,7 +342,6 @@ layui.define(['laypage', 'fly', 'element', 'flow'], function(exports){
nowpass:data.field.nowpass
,pass:data.field.pass
},function (res) {
res = JSON.parse(res);
if(res.retcode != 0){
layer.msg(res.retinfo);
return false;