更新
This commit is contained in:
parent
de3f43ace8
commit
5d809c4ec9
11
.example.env
11
.example.env
@ -16,7 +16,16 @@ USERNAME = preview_shop_lihaink_cn
|
|||||||
PASSWORD = HwQ2RsjDTDJWcS7r
|
PASSWORD = HwQ2RsjDTDJWcS7r
|
||||||
CHARSET = utf8mb4
|
CHARSET = utf8mb4
|
||||||
DEBUG = true
|
DEBUG = true
|
||||||
|
[DATABASE]
|
||||||
|
TYPE = mysql
|
||||||
|
HOSTNAME = 47.109.36.146
|
||||||
|
DATABASE = ceshi_shop_lihaink_cn
|
||||||
|
PREFIX = eb_
|
||||||
|
HOSTPORT = 3306
|
||||||
|
USERNAME = ceshi_shop_lihaink_cn
|
||||||
|
PASSWORD = 4EfPeWfkx2rtGQef
|
||||||
|
CHARSET = utf8mb4
|
||||||
|
DEBUG = true
|
||||||
[LANG]
|
[LANG]
|
||||||
default_lang = zh-cn
|
default_lang = zh-cn
|
||||||
|
|
||||||
|
@ -1271,9 +1271,13 @@ class ProductRepository extends BaseRepository
|
|||||||
$res['content']['content']=['image'=>$image];
|
$res['content']['content']=['image'=>$image];
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
if(is_Array($content)){
|
||||||
|
$res['content']['content']=['image'=>$content];
|
||||||
|
}else{
|
||||||
$res['content']['content']=$content;
|
$res['content']['content']=$content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$res['merchant']['recommend'] = $this->getRecommend($res['product_id'], $res['mer_id']);
|
$res['merchant']['recommend'] = $this->getRecommend($res['product_id'], $res['mer_id']);
|
||||||
$spu = app()->make(SpuRepository::class)->getSpuData(
|
$spu = app()->make(SpuRepository::class)->getSpuData(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user