切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
李涵
6 years ago
提交
9eccfd7a719d2770b1b202b5a94dcad39bbec9f1
2 个父辈
eabe2a6b
65ed3a31
1 个管道 的构建
通过
耗费 0 秒
合并分支 'li' 到 'master'
赠送积分和角色管理 查看合并请求
!614
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
app/friendship/controller/FriendController.php
app/friendship/controller/FriendController.php
查看文件 @
9eccfd7
...
...
@@ -18,7 +18,7 @@ class FriendController extends HomeBaseController
public
function
friendGiveLog
()
{
$data
=
Db
::
name
(
'friendship'
)
->
alias
(
'f'
)
->
field
(
'f.total,u.user_nickname,u.avatar'
)
->
field
(
'f.
friend_uid as friend_id,f.
total,u.user_nickname,u.avatar'
)
->
join
(
'user u'
,
'u.id=f.friend_uid'
)
->
where
([
'f.uid'
=>
session
(
'user.id'
)])
->
select
()
->
toArray
();
...
...
@@ -43,7 +43,6 @@ class FriendController extends HomeBaseController
->
field
(
'id as friend_id,avatar,user_nickname'
)
->
where
(
$where
)
->
select
()
->
toArray
();
print_r
(
$list
);
if
(
!
empty
(
$list
))
{
return
$this
->
fetch
(
':friend_list'
,
[
'keyword'
=>
$keyword
,
...
...
请
注册
或
登录
后发表评论