发布v2.5.7版本
This commit is contained in:
@@ -18,4 +18,17 @@ class agent_custfkdClassModel extends agentModel
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user