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 LogisticsProductService {
| /**
| * 获取区域列表
| * @param string $tableName
| * @param string $order
| * @return array
| */
| public function getList(array $where=[]): array{
| $logisticsProductlist = Db::name('logistics_product')
| ->where($where)->order("id asc")->cacheAlways(TRUE, 0, 'logistics_product')->select()->toArray();
| return $logisticsProductlist;
| }
| }
|
|