|
@@ -24,7 +24,7 @@ class Pay extends Base
|
|
|
$total =ceil($count/$param['size']);
|
|
|
$page = $total>=$param['page']? intval($param['page']) : intval($total);
|
|
|
$list =Db::name("pay")->where($where)->page($page,intval($param['size']))
|
|
|
- ->withAttr("rate",function ($v){return $v*100;})->order("id desc")->select()->toArray();
|
|
|
+ ->order("id desc")->select()->toArray();
|
|
|
return app_show(0,"获取成功",["list"=>$list,'count'=>$count]);
|
|
|
}
|
|
|
|