BookListChTest.php 492 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Bear
  5. * Date: 2020/6/2
  6. * Time: 上午10:52
  7. */
  8. use app\main\service\BookListChService;
  9. class BookListChTest extends TestInit
  10. {
  11. public function testIds()
  12. {
  13. $result = BookListChService::instance()->getListIds(['content'=>['LIKE','%VIP测试资源001%']],[]);
  14. var_dump($result);
  15. }
  16. public function testCollect()
  17. {
  18. $data = BookListChService::instance()->getCollectList([7]);
  19. var_dump($data);
  20. }
  21. }