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
600 B
31 lines
600 B
<?php
|
|
|
|
namespace app\base\model\platform;
|
|
|
|
use think\model\concern\SoftDelete;
|
|
|
|
class PlatformAliLive extends Base
|
|
{
|
|
use SoftDelete;
|
|
|
|
// 设置当前模型对应的完整数据表名称
|
|
protected $table = 'base_platform_ali_live';
|
|
|
|
/**
|
|
* 获取配置
|
|
* @date 2022-12-07
|
|
*/
|
|
public function getPlatformParam()
|
|
{
|
|
$where = [
|
|
['uid', '=', $this->mid]
|
|
];
|
|
$field = 'access_key_id,access_key_secret,region_id,push_host,push_key,play_host,play_key';
|
|
|
|
$data = $this->getOneData($where, $field);
|
|
|
|
return $data;
|
|
}
|
|
|
|
}
|