mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 18:12:50 +08:00
feat: 完成基本的详情生成
This commit is contained in:
@@ -73,6 +73,18 @@ class TestGoods extends TimeModel
|
||||
}
|
||||
return explode('|', $data['verfiy_file']);
|
||||
}
|
||||
/**
|
||||
* 商品类型获取器
|
||||
* @param $value
|
||||
* @return array
|
||||
*/
|
||||
public function getShopTypeListAttr($value, $data)
|
||||
{
|
||||
if (empty($data['shop_type'])) {
|
||||
return [];
|
||||
}
|
||||
return explode(',', $data['shop_type']);
|
||||
}
|
||||
|
||||
|
||||
public function mallCate()
|
||||
|
||||
Reference in New Issue
Block a user