webmain/model/flow/waichuModel.php
(完整代码) 1KB<?php
class flow_waichuClassModel extends flowModel
{
protected function flowgetfields($lx)
{
$arr['location'] = '此时间定位打卡';
return $arr;
}
public function flowrsreplace($rs, $lx=0)
{
if($lx==1){
$s = $this->getdklocation($rs['outtime'], $rs['intime']);
$rs['location'] = $s;
}
return $rs;
}
private function getdklocation($sdt,$edt)
{
$rows = $this->db->getrows('[Q]location',"`uid`='$this->uid' and `type`=0 and `optdt`>='$sdt' and `optdt`<='$edt'",'location_x,location_y,scale,label,`precision`,`optdt`,`id`');
$s = '';
foreach($rows as $k=>$rs){
$s.=''.($k+1).'.'.$rs['label'].'('.$rs['optdt'].') <a href="javascript:;" onclick="js.locationshow('.$rs['id'].')" class="zhu">查看</a><br>';
}
return $s;
}
protected function flowbillwhere($uid, $lx)
{
$month = $this->rock->post('month');
$where = '';
if($month!=''){
$where.=" and `outtime` like '$month%'";
}
return array(
'where' => $where
);
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
