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.
bjhedasx/app/base/model/platform/PlatformDcloudUniPush.php

28 lines
555 B

<?php
namespace app\base\model\platform;
use think\model\concern\SoftDelete;
class PlatformDcloudUniPush extends Base
{
use SoftDelete;
// 设置当前模型对应的完整数据表名称
protected $table = 'base_platform_dcloud_uni_push';
/**
* 获取unipush配置
* @date 2022-12-07
*/
public function getPlatformParam()
{
$where = [
['uid', '=', $this->mid]
];
$field = 'app_id,app_key,app_secret,master_secret';
return $this->getOneData($where, $field);
}
}