...
|
...
|
@@ -45,6 +45,7 @@ class Info extends Api |
|
|
*/
|
|
|
public function myfootprint()
|
|
|
{
|
|
|
$qiniu = get_addon_config('qiniu')['cdnurl'];
|
|
|
$page = $this->request->param('page', 1, 'intval');
|
|
|
$user_id = $this->getUserId();
|
|
|
$data['total_num'] = Db::name('footprint')->where('user_id',$user_id)->count();
|
...
|
...
|
@@ -56,6 +57,9 @@ class Info extends Api |
|
|
->page($page,10)
|
|
|
->order('a.createtime desc')
|
|
|
->select();
|
|
|
foreach ($data['info'] as &$v){
|
|
|
$v['image'] = $qiniu.$v['image'];
|
|
|
}
|
|
|
$this->success('success',$data);
|
|
|
|
|
|
}
|
...
|
...
|
|