|
|
|
@ -162,6 +162,13 @@ class PartnerController extends ThinkController
|
|
|
|
|
$contract_end_time = $value['contract_end_time'] ?
|
|
|
|
|
time_format($value['contract_end_time'], 'Y/m/d') : '-';
|
|
|
|
|
$value['contract_time'] = $contract_start_time . '-' . $contract_end_time;
|
|
|
|
|
|
|
|
|
|
$validity_start_time = $value['validity_start_time'] ?
|
|
|
|
|
time_format($value['validity_start_time'], 'Y/m/d') : '-';
|
|
|
|
|
$validity_end_time = $value['validity_end_time'] ?
|
|
|
|
|
time_format($value['validity_end_time'], 'Y/m/d') : '-';
|
|
|
|
|
$value['validity_time'] = $validity_start_time . '-' . $validity_end_time;
|
|
|
|
|
|
|
|
|
|
$row2 = array_sum(array_column($value['game'], 'row')) ;
|
|
|
|
|
$value['row'] = empty($row2) ? 1: $row2;
|
|
|
|
|
$parseData[] = $value;
|
|
|
|
|