$data[$key]=Db::name('indent')->where('uid',$val['uid'])->where("state = 2 or state = 3 or state = 5")->where("pay_time>=".$startime." and pay_time<=".$endtime)->select()->toArray();
}else{
$data[$key]=Db::name('indent')->where('uid',$val['uid'])->where("state = 2 or state = 3 or state = 5")->select()->toArray();
...
...
@@ -544,7 +544,7 @@ class PersonalcenterController extends WeChatBaseController{