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.

28 lines
549 B

<?php
namespace app\base\model\platform;
use think\model\concern\SoftDelete;
class PlatformFubei extends Base
{
use SoftDelete;
// 设置当前模型对应的完整数据表名称
protected $table = 'base_platform_fubei';
/**
* 获取头条小程序配置
* @date 2022-10-18
*/
public function getPlatformParam()
{
$where = [
['uid', '=', $this->mid]
];
$field = 'name,app_id,app_secret,merchant_id,store_id';
return $this->getOneData($where, $field);
}
}