Commit b5efe846 by mushishixian

数量

parent 09072b5f
......@@ -123,7 +123,7 @@ class SupplierApiController extends Controller
$transformer = new SupplierTransformer();
$list['data'] = $transformer->transformList($list['data']);
if (env('LOGIN_DOMAIN') == 'user.liexin.net') {
$list['total'] = $list['total'] > 10 ? 50 : $list['total'];
$list['total'] = $list['total'] > 50 ? 50 : $list['total'];
}
$this->response(0, 'ok', $list['data'], $list['total']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment