ChannelSaleStatistics.php 446 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\common\model;
  3. use think\facade\Db;
  4. /**
  5. * 渠道销售统计模型
  6. * @package app\common\model
  7. */
  8. class ChannelSaleStatistics extends BaseModel
  9. {
  10. protected $name = 'channel_sale_statistics';
  11. /**
  12. * 获取记录
  13. * @param int $id
  14. * @param array $with
  15. * @return static
  16. */
  17. public static function detail(int $id, array $with = [])
  18. {
  19. return static::get($id, $with);
  20. }
  21. }