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
539 B

<?php
namespace app\base\model\platform;
use think\model\concern\SoftDelete;
class PlatformWxpay extends Base
{
use SoftDelete;
// 设置当前模型对应的完整数据表名称
protected $table = 'base_platform_wxpay';
/**
* 获取微信支付配置
* @date 2022-10-26
*/
public function getPlatformParam()
{
$where = [
['uid', '=', $this->mid]
];
$field = 'mch_id,app_secret,cert_path,key_path';
return $this->getOneData($where, $field);
}
}