Files
liche/api/controllers/Welcome.php
T
2022-07-21 16:29:55 +08:00

20 lines
527 B
PHP
Executable File

<?php
//ini_set("display_errors", "On");//打开错误提示
//ini_set("error_reporting",E_ALL);//显示所有错误
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function index()
{
$this->load->view('welcome_message');
}
public function test(){
$this->load->library('entity/credits_entity');
// $res = $this->credits_entity->change(4,10);
$res = $this->credits_entity->freeze(4,10,1);
print_r($res);
}
}