20 行
604 B
PHP
可执行文件
20 行
604 B
PHP
可执行文件
<?php
|
|
namespace Retail\Controller;
|
|
use Think\Controller;
|
|
//[1.1.96]
|
|
class EmptyController extends WebbaseController {
|
|
public function _empty() {
|
|
if(IS_POST){
|
|
$rt['status'] = 0;
|
|
$rt['msg'] = '抱歉,您获取数据的方法不存在,请确认';
|
|
$rt['code'] = 1;
|
|
$rt['count'] = 0;
|
|
$rt['data'] = array();
|
|
$this->ajaxReturn($rt);
|
|
}else{
|
|
header('Content-Type: text/html; charset=utf-8');
|
|
$this->checkwebset();
|
|
$this->display('Empty/index');
|
|
}
|
|
}
|
|
} |