赛亿提成统计系统

Seller.php 348B

1234567891011121314151617
  1. <?php
  2. namespace app\index\model;
  3. use app\index\model\MySqlite;
  4. class Seller extends MySqlite
  5. {
  6. public function __construct($tablename='')
  7. {
  8. parent::__construct();
  9. if ($tablename) {
  10. $this->tablename = $tablename;
  11. } else {
  12. $this->tablename = strtolower(basename(__CLASS__));
  13. }
  14. }
  15. }