|
@@ -134,14 +134,15 @@ class MayCurServerService extends Service
|
|
public function reimburseDetailGet($list){
|
|
public function reimburseDetailGet($list){
|
|
if(empty($list['list'])) return [true, $list];
|
|
if(empty($list['list'])) return [true, $list];
|
|
|
|
|
|
|
|
+ $return = [];
|
|
foreach ($list['list'] as $key => $value){
|
|
foreach ($list['list'] as $key => $value){
|
|
list($status, $msg) = $this->reimburseDetail($value);
|
|
list($status, $msg) = $this->reimburseDetail($value);
|
|
if(! $status) return [false, $msg];
|
|
if(! $status) return [false, $msg];
|
|
|
|
|
|
- $list['list'][$key]['reimburseDetail'] = $msg;
|
|
|
|
|
|
+ $return[] = $msg;
|
|
}
|
|
}
|
|
|
|
|
|
- return [true, $list];
|
|
|
|
|
|
+ return [true, ['list' => $return, 'hasNextPage' => $list['hasNextPage']]];
|
|
}
|
|
}
|
|
|
|
|
|
public function reimburseDetail($data){
|
|
public function reimburseDetail($data){
|