You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
306 B
19 lines
306 B
9 months ago
|
<?php
|
||
|
|
||
|
namespace app\common\model\wholesaler;
|
||
|
|
||
|
use cores\BaseModel;
|
||
|
|
||
|
class Order extends BaseModel
|
||
|
{
|
||
|
// 定义表名
|
||
|
protected $name = 'wholesaler_order';
|
||
|
|
||
|
// 定义主键
|
||
|
protected $pk = 'order_id';
|
||
|
|
||
|
public static function detail($where)
|
||
|
{
|
||
|
return self::get($where);
|
||
|
}
|
||
|
}
|