1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| <?php
|
|
| namespace app\common\model\branch;
|
| use app\common\model\BaseModel;
|
| /**
| * 供应商客服模型
| */
| class Service extends BaseModel
| {
| protected $pk = 'service_id';
| protected $name = 'branch_service';
|
| /**
| * 详情
| */
| public static function detail($branch_id){
| return (new static())->where('branch_id', '=', $branch_id)->find();
| }
| }
|
|