更新押金列表
This commit is contained in:
parent
4c8c2dfa8f
commit
0cd828f3da
@ -405,4 +405,16 @@ class StoreOrder extends BaseController
|
|||||||
return app('json')->success($list);
|
return app('json')->success($list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取商户押金列表
|
||||||
|
*/
|
||||||
|
public function getOrderAutoMarginList($merId){
|
||||||
|
[$page, $limit] = $this->getPage();
|
||||||
|
$select= Db::name('financial_record')->where('mer_id',$merId)->where('type',1)
|
||||||
|
->where('financial_type','auto_margin')->where('financial_pm',0)
|
||||||
|
->page($page)->limit($limit)->order('financial_record_id','desc')->select();
|
||||||
|
return app('json')->success($select);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -340,6 +340,7 @@ Route::group('api/', function () {
|
|||||||
//管理员订单
|
//管理员订单
|
||||||
Route::group('admin/:merId', function () {
|
Route::group('admin/:merId', function () {
|
||||||
Route::get('/statistics', '/orderStatistics');
|
Route::get('/statistics', '/orderStatistics');
|
||||||
|
Route::get('/auto_margin', '/getOrderAutoMarginList');
|
||||||
Route::get('/order_price', '/orderDetail');
|
Route::get('/order_price', '/orderDetail');
|
||||||
Route::get('/order_list', '/orderList');
|
Route::get('/order_list', '/orderList');
|
||||||
Route::get('/order/:id', '/order');
|
Route::get('/order/:id', '/order');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user