Files

38 lines
500 B
PHP
Raw Permalink Normal View History

2025-11-22 15:31:01 +08:00
<?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(){
}
}