This commit is contained in:
2025-11-22 15:31:01 +08:00
parent 9f25a85d07
commit b52a51c09b
37 changed files with 2587 additions and 240 deletions
+38
View File
@@ -0,0 +1,38 @@
<?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(){
}
}