1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <?php
|
| namespace services;
|
| use think\facade\Db;
|
|
| class PlatformLogisticsProductService {
| /**
| * 获取区域列表
| * @param string $tableName
| * @param string $order
| * @return array
| */
| public function getList(array $where=[]): array{
| $platformLogisticsProductlist = Db::name('platform_logistics_product')
| ->where($where)->order("id asc")->cacheAlways(TRUE, 0, 'platform_logistics_product')->select()->toArray();
| return $platformLogisticsProductlist;
| }
| }
|
|