123456789101112131415161718192021222324 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Bear
- * Date: 2020/5/27
- * Time: 下午2:16
- */
- use app\main\service\CustomService;
- class CustomTest extends TestInit
- {
- public function testCustomIds()
- {
- $where = [
- // 'admin.username'=>['LIKE', '%qds%']
- 'custom.id'=>179
- ];
- $listResult = CustomService::instance()->getCustomIds($where, []);
- var_dump($listResult);
- $data = CustomService::instance()->getCustomCollectData($listResult->data['ids']);
- var_dump($data);
- }
- }
|