no commit message

This commit is contained in:
雨中磐石
2024-10-18 15:27:40 +08:00
parent 9a2a3a2c8a
commit 559c388ea0
103 changed files with 2021 additions and 783 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* 客服
*/
class rockkefuClassAction extends apiAction
{
public function initAction()
{
parent::initAction();
$type = @$_SERVER['REQUEST_METHOD'];
$cans = $_GET;
$cans['user'] = $this->userrs['user'];
unset($cans['m']);
unset($cans['a']);
$url = c('rockkefu')->geturlstr('openkefu',A, $cans);
if($type=='POST'){
$result = c('curl')->postcurl($url, $_POST);
}else{
$result = c('curl')->getcurl($url);
}
if(!$result)$result = json_encode(returnerror('无法访问'));
echo $result;
exit;
}
}