常用方法
常用方法
常用方法
常用方法
public function getGoods() { return $this->hasOne(Goods::className(), ['goods_id' => 'goods_id']); }
public function getGoods() { return $this->hasOne(Goods::className(), ['goods_id' => 'goods_id']); }