123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
-
- namespace App\Http\Controllers;
-
- use Aliyun\Core\Config;
- use App\Models\Department;
- use App\Models\PkRoom;
- use App\Models\Question;
- use App\Models\User;
- use App\Services\BrainstormingService;
- use App\Services\AccessToken;
- use App\Services\CmbcService;
- use App\Services\DepartmentService;
- use App\Services\OnlineLimitService;
- use App\Services\PkService;
- use App\Services\PushMessageService;
- use App\Services\RandChinaName;
- use App\Services\SmsService;
- use App\Services\TopService;
- use App\Services\UserService;
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\DB;
- use Illuminate\Support\Facades\Redis;
- use App\Services\GameTimeService;
-
- class ExampleController extends Controller
- {
- /**
- * Create a new controller instance.
- *
- * @return void
- */
- public function __construct()
- {
- //
- }
-
- public function baseIndex(Request $request){
- return json_encode(BrainstormingService::getInstance()->get($request->get("activity_id")));
- }
- }
|