huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
 
namespace app\common\model\plus\agent;
 
use app\common\model\BaseModel;
 
/**
 * 分销商用户模型
 */
class Product extends BaseModel
{
    protected $name = 'agent_product';
    protected $pk = 'product_id';
 
    /**
     * 超管用户信息
     */
    public static function detail($product_id)
    {
        return (new static())->where('product_id', '=', $product_id)->find();
    }
 
}