更新
This commit is contained in:
parent
4e2cb898e7
commit
409a64efb2
@ -1,11 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace app\api\controller;
|
||||
use WebSocket\Client;
|
||||
|
||||
class IndexController{
|
||||
use app\BaseController;
|
||||
use support\Log;
|
||||
|
||||
class IndexController extends BaseController{
|
||||
public function index(){
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function demo1(){
|
||||
$parmas=$this->request->post();
|
||||
Log::error('测试',$parmas);
|
||||
return json(['msg'=>'ok']);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user