customerModel.php 555 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. class agent_customerClassModel extends agentModel
  3. {
  4. public function gettotal()
  5. {
  6. $stotal = $this->gettotalss($this->adminid);
  7. $titles = '';
  8. return array('stotal'=>$stotal,'titles'=> $titles);
  9. }
  10. private function gettotalss($uid)
  11. {
  12. $to = 0;
  13. return $to;
  14. }
  15. protected function agentrows($rows, $rowd, $uid)
  16. {
  17. foreach($rowd as $k=>$rs){
  18. if($rs['statuss']==0){
  19. $rows[$k]['statustext']='已停用';
  20. $rows[$k]['statuscolor']='#888888';
  21. $rows[$k]['ishui'] =1;
  22. }
  23. }
  24. return $rows;
  25. }
  26. }
粤ICP备19079148号