切换导航条
此项目
正在载入...
登录
王智
/
spare
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
wangzhi
5 years ago
提交
9aa437c6af7b8548b1dbfd4b664fbfea59c0418a
1 个父辈
162be7c7
222
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
application/api/controller/Index.php
application/api/controller/Index.php
查看文件 @
9aa437c
...
...
@@ -517,12 +517,12 @@ class Index extends Api
$list
[
$k1
][
'avatar'
]
=
cdnurl
(
$v1
[
'avatar'
],
true
);
$list
[
$k1
][
'book_con'
]
=
cdnurl
(
$v1
[
'book_avatar'
],
true
);
}
foreach
(
$list
as
$k
=>
$v
)
{
$list
[
$k
][
'number'
]
=
100
;
}
$return
[
'count'
]
=
count
(
$count
);
$return
[
'num_count'
]
=
ceil
(
$return
[
'count'
]
/
$param
[
'rows'
]);
$return
[
'list'
]
=
$list
;
foreach
(
$list
as
$k
=>
$v
)
{
$list
[
$k
][
'number'
]
=
1
;
}
$this
->
success
(
'成功'
,
$return
);
}
...
...
请
注册
或
登录
后发表评论