点赞城市

This commit is contained in:
2024-12-02 11:34:34 +08:00
parent 19d38802a9
commit 59e77906f0
6 changed files with 234 additions and 0 deletions

View File

@ -6,6 +6,7 @@ use think\admin\Model;
class TicketUserShare extends Model
{
protected $append = ['type_name', 'imgs_arr'];
public function getImgsArrAttr($value, $data)
{
return str2arr($data['imgs'] ?: '', '|');