Commit e9715ba0 authored by chenzq's avatar chenzq

分公司地址

parent 809b7aa2
...@@ -48,7 +48,13 @@ else { ...@@ -48,7 +48,13 @@ else {
$where['to_uid !='] = $uid; $where['to_uid !='] = $uid;
} }
$company = pdo_getall('longbing_company_company', array('uniacid' => $_W['uniacid'], 'status' => 1)); $province = pdo_getall('sys_region',array('parent_id'=>1));
$num = $_GPC['province'];
$city= pdo_get('sys_region',array('id'=>$num));
$company = pdo_getall('longbing_company_company',array('uniacid' => $_W['uniacid'], 'status' => 1,'id'=>$city));
//$company = pdo_getall('longbing_company_company', array('uniacid' => $_W['uniacid'], 'status' => 1));
$where['uid'] = $uid; $where['uid'] = $uid;
$where['status'] = 1; $where['status'] = 1;
$cards = pdo_getslice('longbing_company_collection', $where, $limit, $count, array(), '', array('id desc')); $cards = pdo_getslice('longbing_company_collection', $where, $limit, $count, array(), '', array('id desc'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment