You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
25
hyhproject/app/controller/Position.php
Executable file
25
hyhproject/app/controller/Position.php
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace wstmart\app\controller;
|
||||
use wstmart\common\model\Position as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 地区控制器
|
||||
*/
|
||||
class Position extends Base{
|
||||
/**
|
||||
* 获取地区名字
|
||||
*/
|
||||
public function getAreaName(){
|
||||
$m = new M();
|
||||
$rs = $m->getAreaName();
|
||||
exit(jsonReturn('', 1,$rs));
|
||||
}
|
||||
/**
|
||||
* 列表查询
|
||||
*/
|
||||
public function listQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->listQuery();
|
||||
exit(jsonReturn('', 1,$rs));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user