更新
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
|
||||
CHARSET = utf8mb4
|
||||
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]
|
||||
default_lang = zh-cn
|
||||
|
||||
|
@ -1271,7 +1271,11 @@ class ProductRepository extends BaseRepository
|
||||
$res['content']['content']=['image'=>$image];
|
||||
}
|
||||
else{
|
||||
$res['content']['content']=$content;
|
||||
if(is_Array($content)){
|
||||
$res['content']['content']=['image'=>$content];
|
||||
}else{
|
||||
$res['content']['content']=$content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user