Ignore:
Timestamp:
Nov 26, 2014 2:21:24 PM (10 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/services/models/services_model.php

    r620 r629  
    125125                }
    126126               
    127                 if ($key == _SBG_MO_REGISTER || $key == _SBG_MO_PASSWORD_RECOVERY) {
    128                         $debugMsg = var_export($aryContent, TRUE);
    129                         write_file('regis_log', $debugMsg);
    130                 }
    131                        
    132127                $aryResult = (bool)$result ? array('case' => $key, 'content' => $aryContent):array('case' => $key);
    133128                return $aryResult;
     
    144139                $case = $aryMOAnalys['case'];
    145140                $aryContents = isset($aryMOAnalys['content']) ? $aryMOAnalys['content']: null;
    146                 $debugMsg .= var_export($aryMOAnalys);
    147141                $this->load->model('frontend/user_model', 'objUserModel');
    148142                $debugMsg .= $case;
     
    163157                               
    164158                                $sms = $this->objUserModel->register($userName, $collaborator, $collaboratorMsg);
    165                                 write_file('mt_log', $collaborator);
    166159                                if ($case == _SBG_MO_REGISTER_FOR) {
    167160                                        $smsReturn = $collaboratorMsg;
     
    268261                $result = $client->send($xml, $action);
    269262               
    270                 $debugMsg = 'Logged time: '. date('Y-m-d H:i:s') ."\n";
    271                 $debugMsg .=  'Send:'."\n" .$xml ."\n\n";
    272                 $debugMsg .= 'Result:'."\n". var_export($result, TRUE);
    273                 write_file('topup_log', $debugMsg);
    274                
    275263                if ($client->fault) {
    276264                        return _SBG_CARD_PAY_FAIL;
     
    309297                $client->operation = $action;
    310298                $result = $client->send($xml, $action);
    311                 $debugMsg = var_export($xml, TRUE);             
    312                 $debugMsg .= var_export($result, TRUE);
    313                 write_file('mt_log', $debugMsg);
    314                
     299
    315300                if ($client->fault) {
    316301                        return _SBG_CHARGING_FAIL;
     
    366351                $result = $client->send($xml, $action);
    367352               
    368                 //write_file('mt_log', var_export($client->fault, true)."\n".var_export($xml, true));
    369                
    370353                if ($client->fault || (int)$result['InsertMTResult'] != 1) {
    371354                        return _SBG_SEND_MT_FAIL;
Note: See TracChangeset for help on using the changeset viewer.