代码优化
This commit is contained in:
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class CompanyAccountModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'company_account';
|
||||
protected $table = 's2_company_account';
|
||||
}
|
||||
@@ -6,5 +6,5 @@ use think\Model;
|
||||
|
||||
class CompanyModel extends Model {
|
||||
// 设置表名
|
||||
protected $name = 'company';
|
||||
protected $table = 's2_department';
|
||||
}
|
||||
@@ -6,5 +6,5 @@ use think\Model;
|
||||
|
||||
class DeviceModel extends Model {
|
||||
// 设置表名
|
||||
protected $name = 'device';
|
||||
protected $table = 's2_device';
|
||||
}
|
||||
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class FriendTaskModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'friend_task';
|
||||
protected $table = 's2_friend_task';
|
||||
}
|
||||
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class WechatAccountModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'wechat_account';
|
||||
protected $table = 's2_wechat_account';
|
||||
}
|
||||
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class WechatChatroomMemberModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'wechat_chatroom_member';
|
||||
protected $table = 's2_wechat_chatroom_member';
|
||||
}
|
||||
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class WechatChatroomModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'wechat_chatroom';
|
||||
protected $table = 's2_wechat_chatroom';
|
||||
}
|
||||
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class WechatFriendModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'wechat_friend';
|
||||
protected $table = 's2_wechat_friend';
|
||||
}
|
||||
@@ -7,5 +7,5 @@ use think\Model;
|
||||
class WechatMessageModel extends Model
|
||||
{
|
||||
// 设置表名
|
||||
protected $name = 'wechat_message';
|
||||
protected $table = 's2_wechat_message';
|
||||
}
|
||||
Reference in New Issue
Block a user