REAPI/app/channel/service/PercentService.php
2024-09-29 15:43:18 +08:00

31 lines
555 B
PHP

<?php
namespace app\channel\service;
use app\core\Service;
use think\admin\extend\CodeExtend;
use app\merchant\service\MerchantService;
/**
* 商户分成服务 废弃
* Class MerchantService
* @package app\merchant\service
*/
class PercentService extends Service
{
/**
* 设置默认操作表
* @var string
*/
public $table = 'channel_percent';
# 获取商户信息
public function getInfo($pid)
{
$where['pid'] = $pid;
$data = $this->db()->where($where)->find();
return $data;
}
}