初始化代码
This commit is contained in:
27
application/api/controller/Tencent.php
Normal file
27
application/api/controller/Tencent.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace app\api\controller;
|
||||
|
||||
use think\Controller;
|
||||
|
||||
class Tencent extends Controller
|
||||
{
|
||||
//腾讯IM回调
|
||||
public function call_back(){
|
||||
$data = input('post.');
|
||||
$sign_data = input('get.');
|
||||
$reslut = model('UserTencent')->tencent_call_back($data,$sign_data);
|
||||
return json($reslut);
|
||||
}
|
||||
|
||||
// public function test(){
|
||||
|
||||
// $reslut = model('UserTencent')->tencent_group_quit_call_back(1,200067);
|
||||
// halt($reslut);
|
||||
// return json($reslut);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user