You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
376 B
17 lines
376 B
<?php
|
|
namespace app\admin\controller;
|
|
//use think\{Controller,Db,Input};//
|
|
use think\Controller;
|
|
use think\Db;
|
|
use think\Input;
|
|
|
|
class Ajax extends Common{
|
|
public function getRegion(){
|
|
$Region=db("region");
|
|
$map['pid']=input("pid");
|
|
$map['type']=input("type");
|
|
$list=$Region->where($map)->select();
|
|
echo json_encode($list);
|
|
}
|
|
|
|
}
|