with($with)->find($point_product_id); } /** *关联商品表 */ public function product() { return $this->belongsTo('app\\common\\model\\product\\Product', 'product_id', 'product_id'); } /** *关联商品表 */ public function sku() { return $this->hasMany('app\\common\\model\\plus\\point\\ProductSku'); } }