feat: 添加代理商分页/导出/企业规模列表接口

This commit is contained in:
2025-03-13 18:01:36 +08:00
parent ced7db61b5
commit 7785661837
11 changed files with 350 additions and 12 deletions

View File

@@ -0,0 +1,34 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
/**
* 代理商数据模型
* @mixin \think\Model
*/
class AgentBaseModel extends BaseModel
{
// 表名
protected $name = 'agent';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'language_id' => 'int',
'corp_name' => 'string',
'email' => 'string',
'phone' => 'string',
'referer_url' => 'string',
'website_url' => 'string',
'business_type' => 'string',
'enterprise_size' => 'string',
'address' => 'string',
'message' => 'string',
'ip' => 'string',
'created_at' => 'datetime'
];
}