webmain/model/flow/receiptModel.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
class flow_receiptClassModel extends flowModel
{
public function flowrsreplace($rs, $slx=0)
{
$rs['modenumshow'] = $rs['modenum'];
$rs['modenum'] = '';
$fte = '<font color=red>停用</font>';
if($rs['status']=='1'){
$fte = '<font color=green>启用</font>';
}
$rs['status'] = $fte;
$rs['ishui']=0;
//判断是否已确认
if($slx==2){
$lx = $this->atype;
if($lx=='my' || $lx=='myall'){
if(contain(','.$rs['receids'].',',','.$this->adminid.','))$rs['ishui']=1;
}
}
return $rs;
}
public function getweiwhere($uid, $lx)
{
$where = '';
if($lx=='my' || $lx=='myall'){
$where = ' and '.$this->rock->dbinstr('receid', $uid).''; //需要我回执
//为确认
if($lx=='my'){
$where .= ' and (not '.$this->rock->dbinstr('receids', $uid).' or `receids` is null)';
}
}
return $where;
}
//未确认统计
public function getweitotal($uid)
{
$where = $this->getweiwhere($uid, 'my');
$to = $this->rows('`status`=1 '.$where.'');
return $to;
}
protected function flowbillwhere($uid, $lx)
{
$where = $this->getweiwhere($uid, $lx);
return $where;
}
protected function flowsubmit($na, $sm)
{
if($this->rs['status']==1)$this->tisongtodo();
}
//审核完成后发通知
后面还有 14 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
