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/PlatformTencentMessage.php

28 lines
568 B

<?php
namespace app\base\model\platform;
use think\model\concern\SoftDelete;
class PlatformTencentMessage extends Base
{
use SoftDelete;
// 设置当前模型对应的完整数据表名称
protected $table = 'base_platform_tencent_message';
/**
* 获取移动应用配置
* @date 2022-10-26
*/
public function getPlatformParam()
{
$where = [
['uid', '=', $this->mid]
];
$field = 'app_id,secret_id,secret_key,sdk_app_id,app_key';
return $this->getOneData($where, $field);
}
}