34 lines
690 B
PHP
34 lines
690 B
PHP
<?php
|
|
//ini_set("display_errors", "On");//打开错误提示
|
|
//ini_set("error_reporting",E_ALL);//显示所有错误
|
|
|
|
defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
class Clues extends CI_Controller
|
|
{
|
|
|
|
public function index()
|
|
{
|
|
$post = $this->input->post();
|
|
$input = json_decode(file_get_contents('php://input'), true);
|
|
debug_log(json_encode($post), 'clues.txt');
|
|
debug_log(json_encode($input), 'clues.txt');
|
|
|
|
if($input){
|
|
|
|
}
|
|
|
|
$return = array(
|
|
'code' => 1,
|
|
'content' => null,
|
|
'msg' => '',
|
|
);
|
|
|
|
return $return;
|
|
}
|
|
|
|
public function test()
|
|
{
|
|
}
|
|
}
|