12345678910111213141516171819 |
- <?php
- namespace App\Http\Controllers;
- use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
- use Illuminate\Foundation\Bus\DispatchesJobs;
- use Illuminate\Foundation\Validation\ValidatesRequests;
- use Illuminate\Routing\Controller as BaseController;
- use App\Common\Library\Easemob;
- class Controller extends BaseController
- {
- use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
- public function test(){
- $easemob = new Easemob();
- $rs = $easemob->push_text(1018,'标题','内容');
- dd($rs);
- }
- }
|