表名同步

This commit is contained in:
wong
2025-04-12 18:31:53 +08:00
parent 192701e41e
commit 8d96110767
12 changed files with 174 additions and 128 deletions

View File

@@ -10,7 +10,7 @@ use think\Db;
class Device extends Model
{
// 设置表名
protected $name = 'device';
protected $table = 's2_device';
/**
* 获取设备总数