Exemplo n.º 1
0
 public function lol()
 {
     $get_paid_details = \GAB\Debtsolv::change_center('1170344', 'GAB');
     print_r($get_paid_details);
 }
Exemplo n.º 2
0
 public function get_change_office()
 {
     $result = \GAB\Debtsolv::change_center($this->param('lead'), $this->param('office'));
     if ($result['success']) {
         $this->response(array('result' => 'success', 'message' => $result['message']));
     } else {
         $burResult = \GAB\Debtsolv::change_center_resolve($this->param('lead'), $this->param('office'));
         $this->response(array('result' => $burResult['success'] ? 'success' : 'FAIL', 'message' => $burResult['message']));
     }
 }