|
...
|
...
|
@@ -39,6 +39,8 @@ class ProductLogic extends BaseLogic |
|
|
|
public function getInfo($id)
|
|
|
|
{
|
|
|
|
$info = parent::getInfo($id);
|
|
|
|
var_dump($info);
|
|
|
|
die();
|
|
|
|
$info = $this->formatData($info);
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
...
|
...
|
@@ -56,8 +58,6 @@ class ProductLogic extends BaseLogic |
|
|
|
$info['created_uid_text'] = (new UserLogic())->getCacheInfo($info['created_uid'])['name'] ?? '';
|
|
|
|
$info['url'] = $this->getProjectDomain() . $info['route'] ;
|
|
|
|
//统一图片链接
|
|
|
|
var_dump($info['gallery']);
|
|
|
|
die();
|
|
|
|
if(!empty($info['gallery'])){
|
|
|
|
foreach ($info['gallery'] as $k => $v){
|
|
|
|
$info['gallery'][$k]['image_link'] = $v['url'];
|
...
|
...
|
|