时间格式

master
sunke 5 years ago
parent 7220083d84
commit 1e090fc6dd

@ -1738,8 +1738,8 @@ class DownloadController extends BaseController {
array('promote_account','推广账号'),
array('register_time','注册时间'),
array('register_ip','注册ip'),
array('login_time','登陆时间'),
array('login_ip','登陆ip')
array('login_time','登陆时间'),
array('login_ip','登陆ip')
);
$model = M('user','tab_');
@ -1747,6 +1747,8 @@ class DownloadController extends BaseController {
//var_dump($data);
$xlsData = [];
foreach ($data as $key1 => $value1) {
$value1['register_time'] = date("Y-m-d H:i:s",$value1['register_time']);
$value1['login_time'] = date("Y-m-d H:i:s",$value1['login_time']);
$value1['account'] = $this->encryption($value1['account']);
$xlsData[] = $value1;
}

@ -72,8 +72,7 @@
</div>
<div class="form-group normal_space">
<input type="submit" class="submit" id='submit' url="{:U('Query/register','model='.$model['name'],false)}"
value="查询">
<input type="submit" class="submit" id='submit' url="{:U('Query/register','model='.$model['name'],false)}" value="查询">
</div>
<div class="form-group normal_space" style="margin-left: 46px;">

Loading…
Cancel
Save