正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
@@ -639,8 +639,7 @@ class User extends Base | @@ -639,8 +639,7 @@ class User extends Base | ||
639 | ->save($filename); | 639 | ->save($filename); |
640 | $url = request()->domain().'/'.$filename.'?v='.time(); | 640 | $url = request()->domain().'/'.$filename.'?v='.time(); |
641 | // 免费领取推广海报商品 | 641 | // 免费领取推广海报商品 |
642 | - $goods = \addons\shopro\model\Goods::withTrashed()->find(); | ||
643 | - $goods = $goods->append(['service', 'sku', 'coupons']); | 642 | + $goods = \addons\shopro\model\Goods::getGoodsDetail(1); |
644 | $this->success('成功',compact('url','goods')); | 643 | $this->success('成功',compact('url','goods')); |
645 | } | 644 | } |
646 | 645 |
-
请 注册 或 登录 后发表评论