Commit 8bc20b6f authored by 刘小敏's avatar 刘小敏

试戴表商品图加域名

parent f8990ed5
......@@ -112,7 +112,7 @@ class AiTryon extends Common
// 查询商品信息,获取 image 字段
$goods = Goods::where('id', $params['goods_id'])->find();
$goodsImage = $goods ? $goods->image : '';
$goodsImage = $goods ? config('shopro.api_host').$goods->image : '';
// 我的试戴
$tryonModel = new AiTryOnModel();
......@@ -209,7 +209,7 @@ class AiTryon extends Common
// 查询商品信息,获取 image 字段
$goods = Goods::where('id', $params['goods_id'])->find();
$goodsImage = $goods ? $goods->image : '';
$goodsImage = $goods ? config('shopro.api_host').$goods->image : '';
// 保存一条 我的试戴
$tryonModel = new AiTryOnModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment