| 1234567891011121314151617181920212223 |
- <?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();
- }
- }
|