作者 macbook

海报

... ... @@ -639,8 +639,7 @@ class User extends Base
->save($filename);
$url = request()->domain().'/'.$filename.'?v='.time();
// 免费领取推广海报商品
$goods = \addons\shopro\model\Goods::withTrashed()->find();
$goods = $goods->append(['service', 'sku', 'coupons']);
$goods = \addons\shopro\model\Goods::getGoodsDetail(1);
$this->success('成功',compact('url','goods'));
}
... ...