<?php

namespace App\Http\Controllers\Channel\OfficialAccount\Transformers;

class CustomMsgControllerTransformer
{
    public function transform($customMsg){
        return [
            // 'id'       =>  isset($customMsg->id) ? $customMsg->id : "",
            // 'distribution_channel_id'       =>  isset($customMsg->distribution_channel_id) ? $customMsg->distribution_channel_id : "",
            'customer_img_url'       =>  isset($customMsg->customer_img_url) ? $customMsg->customer_img_url : "",
        ];
    }
}