Ignore:
Timestamp:
Mar 27, 2015 9:49:55 AM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

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

    r822 r838  
    3939                                        foreach($lst as $item){
    4040                                                $item = (array)$item;
    41                                
     41                                                $phoneNumber = $this->Services_model->formatPhoneNumber((string)$item['phone'], 2);
    4242                                                $data = array(
    4343                                                                'address'=> (string)$item['address'],
     
    4747                                                                'id'=>(int)$item['id'],
    4848                                                                'full_name'=>(string)$item['name'],
    49                                                                 'cellphone'=>(string)$item['phone'],
     49                                                                'passwd' => md5($phoneNumber),
     50                                                                'cellphone'=>$phoneNumber,
    5051                                                                'precinct'=>(string)$item['precinct'],
    5152                                                                'province'=>(string)$item['province'],
Note: See TracChangeset for help on using the changeset viewer.