You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
658 B
31 lines
658 B
<?php
|
|
|
|
namespace app\base\model\platform;
|
|
|
|
use think\model\concern\SoftDelete;
|
|
|
|
class PlatformAliElasticSearch extends Base
|
|
{
|
|
use SoftDelete;
|
|
|
|
// 设置当前模型对应的完整数据表名称
|
|
protected $table = 'base_platform_ali_elastic_search';
|
|
|
|
/**
|
|
* 获取移动应用配置
|
|
* @date 2022-12-05
|
|
*/
|
|
public function getPlatformParam()
|
|
{
|
|
$where = [
|
|
['uid', '=', $this->mid]
|
|
];
|
|
$field = 'instance_id,access_key_id,access_key_secret,end_point,public_url,private_url,elastic_user,elastic_password';
|
|
|
|
$data = $this->getOneData($where, $field);
|
|
|
|
return $data;
|
|
}
|
|
|
|
}
|