Files
spacestation/api/controllers/Welcome.php
T
2025-08-18 23:11:01 +08:00

28 lines
839 B
PHP

<?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()
{
// require_once COMMPATH . 'third_party/SmsEmms/Sms.php';
// $sms = new Sms();
// $sms = new ThirdParty\SmsEmms\Sms();
// $req = $sms->send('13860199646', '您的验证码为:123456,请勿泄露于他人!');
// print_r($req);
// $this->load->model('receiver/receiver_customers_model', 'customers_model');
// $rid = 17418;
// $bizId = 57;
// $res = $this->customers_model->Commissions($rid, $bizId);
// var_dump($res);
}
}