Files
im/support/OpenIM.php
T
commie c153975eed 7
2026-01-08 05:42:44 +08:00

38 lines
500 B
PHP
Executable File

<?php
namespace support;
/**
* OpenIM
*/
class OpenIM
{
private $config = [
'secret' => 'openIM123',
'baseUrl' => 'http://127.0.0.1:10002'
];
function get_admin_token($username='imAdmin'){
}
function get_user_token($username='imAdmin'){
}
/**
* 统一API请求方法
*/
function api(){
}
/**
* 发送GET请求
*/
function get(){
}
/**
* 发送POST请求
*/
function post(){
}
}