1234567891011121314151617181920212223242526272829 |
- <?php
- namespace app\common\model;
- use think\facade\Db;
- /**
- * 渠道销售统计模型
- * @package app\common\model
- */
- class ChannelSaleStatistics extends BaseModel
- {
- protected $name = 'channel_sale_statistics';
- /**
- * 获取记录
- * @param int $id
- * @param array $with
- * @return static
- */
- public static function detail(int $id, array $with = [])
- {
- return static::get($id, $with);
- }
- }
|