1234567891011121314151617181920212223 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Elton
- * Date: 2019/3/29
- * Time: 13:41
- */
- namespace app\common\model;
- use think\Model;
- class WechatPools extends Model
- {
- protected $table = 'wechat_pools';
- // TRUNCATE table
- public function trucateWechatPools()
- {
- $this->query("TRUNCATE {$this->table}");
- }
- }
|