查询构造器返回的数据不对
$game_order_no =d41297eb44bd3e9ada41434389d924b2d3462427.03/01/2016 11:56:11_
$pay_info = $this->db->table('gy_pay_log')->where('game_order_no',$game_order_no)->first();
返回的$pay_info是null
但是直接在数据库中使用
select * from gy_pay_log where game_order_no ="d41297eb44bd3e9ada41434389d924b2d3462427.03/01/2016 11:56:11_"
返回结果正确,确定数据库配置没问题 ,请问该从哪查起来呢
0 个回复