@ -214,7 +214,9 @@ class Recovery extends Controller
$model = new RecoveryOrder();
$list = $model->where($filter)
->where('store_id', $this->storeId)
->alias('a')
->join('user b', 'b.user_id = a.user_id')
->field('a.*,b.mobile as user_mobile,b.nick_name as user_nick_name')
->order('create_time', 'desc')
->paginate(10);
return $this->renderSuccess(compact('list'));
@ -54,7 +54,7 @@ class Store extends Controller
*/
public function settleList(): Json {
$list = StoreSettle::where('store_id', '=', $this->storeId)
->select();
return $this->renderSuccess($list->toArray());
}