作者 sgj

协议时间添加

... ... @@ -865,7 +865,7 @@ class Index extends Api
->page($params['pages'], $params['rows'])
->where('a.pay', 'NEQ', 0)
->order('id desc')
->field('a.id,a.OrderSn,a.UpMoney,a.Money,a.status,a.refind_status,s.CompanyName')
->field('a.id,a.OrderSn,a.UpMoney,a.Money,a.status,a.refind_status,s.CompanyName,a.createtime,a.EXP_time')
->select();
$Count = Db::name('agreement')
->alias('a')
... ... @@ -889,6 +889,8 @@ class Index extends Api
$List[$k]['status'] = $v['status'];
$List[$k]['refind_status'] = $v['refind_status'];
$List[$k]['CompanyName'] = $v['CompanyName'];
$List[$k]['create_time'] = date('Y-m-d H:i',$v['createtime']);
$List[$k]['EXP_time'] = date('Y-m-d H:i',$v['EXP_time']);
}
$data = [
'Count' => count($Count),
... ...