1234567891011121314151617181920212223 |
- <?php
- namespace app\common\model;
- use app\common\library\Redis;
- use think\Model;
- class RechargeNewAnalysis extends Model
- {
- // 表名
- protected $table = 'recharge_new_analysis';
- private $connect = NULL;
- public function __construct($data = [])
- {
- parent::__construct($data);
- if (!$this->connect) {
- $this->connect(get_db_collect($this->table));
- $this->connect = true;
- }
- }
- }
|