测试
This commit is contained in:
@@ -5,3 +5,9 @@ use Illuminate\Support\Facades\Route;
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
Route::post('/b', function () {
|
||||
$userId = request()->post('user_id');
|
||||
$clientId = request()->post('client_id');
|
||||
\App\Services\GatewayWorker\GatewayClientService::getInstance()->init()->bindUser($clientId, $userId);
|
||||
return jok('绑定成功');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user