Ignore:
Timestamp:
Dec 30, 2014 11:01:51 AM (10 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

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

    r677 r684  
    214214        public function collaborator ()
    215215        {
    216                 error_reporting(E_ALL);
     216/*              error_reporting(E_ALL);
    217217                $this->load->model('Services_model');
    218                 $result = $this->Services_model->getCollaborator();
    219 
    220                 var_dump($result);
     218               
     219                $totalpage = 10213;
     220               
     221                $result = $this->Services_model->getCollaborator(2,1,1);
     222                $this->xml->parse($result);
     223                $xml = $this->xml;
     224                var_dump($xml); */
     225               
     226                $xml = '<?xml version="1.0" ?>
     227                                <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
     228                                        <S:Body>
     229                                                <ns2:getListShopAndStaftInfoResponse xmlns:ns2="http://process.wsim.viettel.com/">
     230                                                        <return>
     231                                                                <description>Thᅵnh cᅵng</description>
     232                                                                <responseCode>0</responseCode>
     233                                                                <lst>
     234                                                                        <address>S? nhᅵ null ???ng Null Khu?i Thu?m Huy?n T?ng B?c K?n B?c K?n</address>
     235                                                                        <code>1000004001_00001_CTVTMDT</code>
     236                                                                        <district>001</district>
     237                                                                        <email></email>
     238                                                                        <id>20513478</id>
     239                                                                        <name>V? Th? Luy?n</name>
     240                                                                        <phone></phone>
     241                                                                        <precinct>004</precinct>
     242                                                                        <province>B281</province>
     243                                                                </lst>
     244                                                                <page>1</page>
     245                                                                <totalpage>102123</totalpage>
     246                                                        </return>
     247                                                </ns2:getListShopAndStaftInfoResponse>
     248                                        </S:Body>
     249                                </S:Envelope>';
     250               
    221251        }
    222252}
Note: See TracChangeset for help on using the changeset viewer.