RechargeNewAnalysis.php 447 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\common\model;
  3. use app\common\library\Redis;
  4. use think\Model;
  5. class RechargeNewAnalysis extends Model
  6. {
  7. // 表名
  8. protected $table = 'recharge_new_analysis';
  9. private $connect = NULL;
  10. public function __construct($data = [])
  11. {
  12. parent::__construct($data);
  13. if (!$this->connect) {
  14. $this->connect(get_db_collect($this->table));
  15. $this->connect = true;
  16. }
  17. }
  18. }