feat: 添加批量采购询盘分页/导出接口

This commit is contained in:
2025-03-13 16:23:37 +08:00
parent 8db458523e
commit ced7db61b5
5 changed files with 202 additions and 5 deletions

View File

@@ -0,0 +1,38 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
/**
* 批量采购询盘模型
* @mixin \think\Model
*/
class BulkPurchaseInquiryBaseModel extends BaseModel
{
// 表名
protected $name = 'bulk_purchase_inquiry';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'language_id' => 'int',
'corp_name' => 'string',
'first_name' => 'string',
'last_name' => 'string',
'email' => 'string',
'phone' => 'string',
'province' => 'string',
'city' => 'string',
'district' => 'string',
'street' => 'string',
'interested' => 'string',
'url' => 'string',
'referer_url' => 'string',
'message' => 'string',
'ip' => 'string',
'created_at' => 'datetime'
];
}