Ignore:
Timestamp:
Oct 24, 2014 3:43:16 PM (11 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

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

    r294 r313  
    2222        public function mo()
    2323        {
     24                $aryParams = array();
     25                $aryParamsName = array( 'username',
     26                                                                'password',
     27                                                                'requestID',
     28                                                                'userID',
     29                                                                'receiverID',
     30                                                                'serviceID',
     31                                                                'commandCode',
     32                                                                'info',
     33                                                                'receiveTime');
     34               
     35                foreach ($aryParams as $key => $value) {
     36                        $aryParams[$value] =  $this->input->post($value,TRUE);
     37                }
     38               
     39                $this->load->model('Sms_model', 'objSMS');
     40               
     41                $separator = '|';
     42                $errCode = 1;
     43                $messageType = 0;
     44                $message = $this->objSMS->getSMSByServiceId();;
     45               
     46                header('Content-type:text/html');
     47                echo $errCode,$separator,$messageType,$separator,$message;
     48        }
     49       
     50        public function mt()
     51        {
    2452               
    2553        }
Note: See TracChangeset for help on using the changeset viewer.