Commit 29418cf7 by lzzzzl

修改列表api

parent af3d942a
......@@ -22,7 +22,7 @@ class ServicesController extends Controller
* 获取仓库信息
*/
public function ApiStoreInfo($request) {
$params = $request->only(['limit','page','store_sn','store_name','erp_store_sn']);
$params = $request->only(['limit','page','store_sn','store_name','erp_store_sn','admin_id','admin_name']);
$arr = array(
'limit' => !empty($params['limit'])?$params['limit']:10,
......@@ -101,7 +101,7 @@ class ServicesController extends Controller
* 获取区域信息
*/
public function ApiZoneInfo($request) {
$params = $request->only(['limit','page','zone_sn','zone_name','store_name','store_id']);
$params = $request->only(['limit','page','zone_sn','zone_name','store_name','store_id','admin_id','admin_name']);
$arr = array(
'limit' => !empty($params['limit'])?$params['limit']:10,
......@@ -178,7 +178,7 @@ class ServicesController extends Controller
* 获取货位信息
*/
public function ApiLocationInfo($request) {
$params = $request->only(['limit','page','location_name','zone_name','store_id']);
$params = $request->only(['limit','page','location_name','zone_name','store_id','admin_id','admin_name']);
$arr = array(
'limit' => !empty($params['limit'])?$params['limit']:10,
......@@ -249,7 +249,7 @@ class ServicesController extends Controller
* 获取物料信息
*/
public function ApiGoodsInfo($request) {
$params = $request->only(['limit','page','goods_name']);
$params = $request->only(['limit','page','goods_name','admin_id','admin_name']);
$arr = array(
'limit' => !empty($params['limit'])?$params['limit']:10,
......@@ -305,7 +305,7 @@ class ServicesController extends Controller
* 获取客户信息
*/
public function ApiCustomerInfo($request) {
$params = $request->only(['limit','page','customer_name']);
$params = $request->only(['limit','page','customer_name','admin_id','admin_name']);
$arr = array(
'limit' => !empty($params['limit'])?$params['limit']:10,
......@@ -392,7 +392,7 @@ class ServicesController extends Controller
* 获取供应商信息
*/
public function ApiSupplierInfo($request) {
$params = $request->only(['limit','page','supplier_name']);
$params = $request->only(['limit','page','supplier_name','admin_id','admin_name']);
$arr = array(
'limit' => !empty($params['limit'])?$params['limit']:10,
......
common @ a2ccb5e4
Subproject commit 5bcda7380c3de327edf2199567cb70eb295b0424
Subproject commit a2ccb5e4c01af94885bf8280f5e69802a0070150
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