- Timestamp:
- Nov 14, 2014 11:30:00 PM (11 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules/services/controllers
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/services/controllers/sendmessage.php
r519 r520 21 21 $this->load->model('Services_model'); 22 22 //$this->Services_model->cardPaidProcess($aryParams); 23 echo $this->Services_model->processMORequest('01662860000', strtoupper('sbg DDT 0979947802 123456')); 23 //echo $this->Services_model->processMORequest('01662860000', strtoupper('sbg DDT 0979947802 123456')); 24 $aryParams = array( 25 'EWalletID' => 0, 26 'CardSerial' => '122346', 27 'PinCard' => '123456789', 28 ); 29 echo $this->Services_model->cardPaidProcess($aryParams); 24 30 } 25 31 … … 118 124 public function topup () 119 125 { 120 $usID = $this->uri->segment(4);121 126 $url = $this->config->item('topup_service_url'); 122 127 … … 129 134 $password = 'sbg56ab77cdsgb'; 130 135 131 $input = $this->input->post();132 $cardSerial = $input['card_serial'];133 $pinCard = $input['pin_card'];134 135 136 $aryParams = array( 136 137 'EWalletID' => 0, 137 'CardSerial' => $cardSerial, 138 'PinCard' => $pinCard, 139 'UserID' => $usID 140 ); 141 142 $this->load->model('services_model'); 143 echo json_encode($this->services_model->cardPaidProcess($aryParams)); 144 138 'CardSerial' => '1111', 139 'PinCard' => '222', 140 ); 145 141 $xml = $this->load->view('topup', $aryParams, true); 146 142 $client = new nusoap_client($url);
Note: See TracChangeset
for help on using the changeset viewer.