|
|
|
@ -568,7 +568,7 @@ class StatementMangementController extends ThinkController
|
|
|
|
|
} else {
|
|
|
|
|
$data = M('reward_record', 'tab_')->where(['id'=>$id])->find();
|
|
|
|
|
if (!$data) return $this->error("未找到该记录");
|
|
|
|
|
$data['confirm_time'] = $data['confirm_time'] ? date('Y-m-d H:i:s', $data['confirm_time']) : '';
|
|
|
|
|
$data['confirm_time'] = $data['confirm_time'] ? date('Y-m-d', $data['confirm_time']) : '';
|
|
|
|
|
$data['accounts'] = json_decode($data['accounts'], true) ?: [];
|
|
|
|
|
$data['settlement_info'] = json_decode($data['settlement_info'], true) ?: [];
|
|
|
|
|
//$this->assign('data', $data);
|
|
|
|
@ -627,7 +627,7 @@ class StatementMangementController extends ThinkController
|
|
|
|
|
} else {
|
|
|
|
|
$data = M('reward_record', 'tab_')->where(['id'=>$id])->find();
|
|
|
|
|
if (!$data) return $this->error("未找到该记录");
|
|
|
|
|
$data['confirm_time'] = $data['confirm_time'] ? date('Y-m-d H:i:s', $data['confirm_time']) : '';
|
|
|
|
|
$data['confirm_time'] = $data['confirm_time'] ? date('Y-m-d', $data['confirm_time']) : '';
|
|
|
|
|
$data['accounts'] = json_decode($data['accounts'], true) ?: [];
|
|
|
|
|
$data['settlement_info'] = json_decode($data['settlement_info'], true) ?: [];
|
|
|
|
|
//$this->assign('data', $data);
|
|
|
|
|