webmain/model/agent/custfkdModel.php
(完整代码) 785B<?php
//客户.付款单的应用
class agent_custfkdClassModel extends agentModel
{
//状态显示替换
protected function agentrows($rows, $rowd, $uid)
{
$statea = $this->flow->statearrf;
foreach($rowd as $k=>$rs){
$state = $rs['paystatus'];
$ztarr = $statea[$state];
$rows[$k]['statustext'] = $ztarr[0];
$rows[$k]['statuscolor'] = $ztarr[1];
$rows[$k]['modenum'] = 'custfinb';
}
return $rows;
}
public function gettotal()
{
$stotal = $this->getwdtotal($this->adminid);
$titles = '';
return array('stotal'=>$stotal,'titles'=> $titles);
}
private function getwdtotal($uid)
{
$where = '`uid`='.$uid.' and `type`=1 and `ispay`=0';
$stotal = m('custfina')->rows($where);
return $stotal;
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
