| 1234567891011121314151617181920212223242526272829303132333435363738 | <?phpnamespace App\Http\Controllers\Web\Talent;use App\Http\Controllers\Web\WebBaseController;use App\Services\Common\SmsService;use App\Models\Member;use Illuminate\Http\Request;use App\Services\Common\SearchService;class ShuoboController extends WebBaseController{    private $smsService;    protected $searchService;    public function __construct(SmsService $smsService,SearchService $searchService)    {        $this->smsService = $smsService;        $this->searchService = $searchService;    }    public function talent()    {        return view('app.shuobo.talent');    }    public function getTalentData(Request $request)    {        $keyword = $request->input('keyword');        $page = $request->input('page');        $list = $this->searchService->search('Shuobo', [], [], $keyword,10,$page);        dd($list);        return json_encode([]);    }}
 |