ShopOpenAccount.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 山西牛酷信息科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com.cn
  8. * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
  9. * 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
  10. * =========================================================
  11. */
  12. namespace app\model\shop;
  13. use app\model\BaseModel;
  14. /**
  15. * 店铺入驻费用
  16. */
  17. class ShopOpenAccount extends BaseModel
  18. {
  19. /**
  20. * 获取入驻费用列表
  21. * @param array $condition
  22. * @param string $field
  23. * @param string $order
  24. * @param string $limit
  25. */
  26. public function getShopOpenAccountList($condition = [], $field = '*', $order = '', $limit = null)
  27. {
  28. $list = model('shop_open_account')->getList($condition, $field, $order, '', '', '', $limit);
  29. return $this->success($list);
  30. }
  31. /**
  32. * 获取入驻费用分页列表
  33. * @param array $condition
  34. * @param number $page
  35. * @param string $page_size
  36. * @param string $order
  37. * @param string $field
  38. */
  39. public function getShopOpenAccountPageList($condition = [], $page = 1, $page_size = PAGE_LIST_ROWS, $order = '', $field = '*')
  40. {
  41. $list = model('shop_open_account')->pageList($condition, $field, $order, $page, $page_size);
  42. return $this->success($list);
  43. }
  44. }