TP5.0 bigint 数据类型

浏览:1066 发布日期:2018/03/30 分类:求助交流
$catelog = db('goods')->alias('a')->join('tc_goods_images b', 'a.id = b.goodsId and b.orderNo = 1 ')->field('a.id,a.name,a.price,b.url')->where($map)->limit(100)->select();

数据库id 类型为:bigint

返回结果为int,id 值 与数据库值不同

应该怎么处理
最佳答案
评论( 相关
后面还有条评论,点击查看>>