正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -304,7 +304,7 @@ class OrderpageController extends WeChatBaseController{ | @@ -304,7 +304,7 @@ class OrderpageController extends WeChatBaseController{ | ||
304 | } | 304 | } |
305 | $where['region'] = ['like',"%$area%"]; | 305 | $where['region'] = ['like',"%$area%"]; |
306 | $where['uid'] = ['eq',$my_user2['uid']]; | 306 | $where['uid'] = ['eq',$my_user2['uid']]; |
307 | - $data = Db::name('school')->where($where)->select(); | 307 | + $data = Db::name('school')->where($where)->select()->toArray(); |
308 | //循环组建新数据 | 308 | //循环组建新数据 |
309 | foreach ($data as $key=>$val){ | 309 | foreach ($data as $key=>$val){ |
310 | $datas['value'] = $val['id']; | 310 | $datas['value'] = $val['id']; |
-
请 注册 或 登录 后发表评论