...
|
...
|
@@ -307,8 +307,8 @@ class OrderpageController extends WeChatBaseController{ |
|
|
$data = Db::name('school')->where($where)->select()->toArray();
|
|
|
//循环组建新数据
|
|
|
foreach ($data as $key=>$val){
|
|
|
$datas['value'] = $val['id'];
|
|
|
$datas['school'] = $val['school'];
|
|
|
$datas[$key]['value'] = $val['id'];
|
|
|
$datas[$key]['school'] = $val['school'];
|
|
|
}
|
|
|
return json_encode($datas);
|
|
|
// $this->success('SUCCESS','',$datas);
|
...
|
...
|
|