房间在线人数 状态 使用腾讯回调
This commit is contained in:
16
application/api/controller/Tencent.php
Normal file
16
application/api/controller/Tencent.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\api\controller;
|
||||||
|
|
||||||
|
use think\Controller;
|
||||||
|
|
||||||
|
class Tencent extends Controller
|
||||||
|
{
|
||||||
|
public function call_back()
|
||||||
|
{
|
||||||
|
$data = input('post.');
|
||||||
|
$sign_data = input('get.');
|
||||||
|
$reslut = model('Tencent')->tencent_call_back($data,$sign_data);
|
||||||
|
return json($reslut);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user