Commit 64cd7dbd authored by hezhen's avatar hezhen

添加地址

parent 491e3e4e
......@@ -453,6 +453,15 @@ class longbing_companyModuleWxapp extends WeModuleWxapp
return $this->result(0, '', $data);
}
//地区列表
public function doPageRegion(){
global $_GPC;
$parent_id= isset($_GPC["parent_id"])?$_GPC["parent_id"]:1;
$sql = "select * from ".tablename('sys_region')." where parent_id =".$parent_id;
$list=pdo_fetchall($sql);
return $this->result(0, '',$list);
}
public function doPageCardV2()
{
$this->cross();
......
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