我正在返回用户保存的所有送货地址,但有一些值留空,并且其中的输出为空。如何将 NULL 值转换为空白(“”)。我在互联网上查看了许多解决方案,但无法使其正常工作。API链接:
https://androidapp.factory2homes.com/api/shippings/3
$address = DB::table('shippings')->where('user_id' , $user_id)->get(); return $address;
守着一只汪
相关分类