Search.php 460 B

12345678910111213141516171819202122
  1. <?php
  2. namespace Heanup\App\Api\Controller\Novel;
  3. use Heanup\App\Api\Controller;
  4. use Heanup\Library\Book;
  5. use Heanup\Library\Curl;
  6. class Search extends Controller
  7. {
  8. //商城小说:
  9. //https://scxs.pigqq.com/BookFiles/Html/1/478/info.html
  10. //https://scxs.pigqq.com/prov8/base/man2.html
  11. //
  12. protected function main()
  13. {
  14. $keyword=$this->getRequest()->string("keyword");
  15. echo Book::getInstance()->search($keyword);
  16. }
  17. }