...
|
...
|
@@ -49,11 +49,8 @@ class IndexController extends CommentController |
|
|
// 雇佣事项
|
|
|
$where_select['status'] = array('neq',9);
|
|
|
$where_select['type'] = 1;
|
|
|
$select = Db::name('Select')->where($where_select)->order('score desc,create_time desc')->select()->toArray();
|
|
|
$select = Db::name('Select')->where($where_select)->order('score desc,create_time desc')->field('id as value, name as label')->select()->toArray();
|
|
|
$final['select'] = json_encode($select);
|
|
|
echo "<pre/>";
|
|
|
print_r($final);
|
|
|
die;
|
|
|
// 协议
|
|
|
$where_art['status'] = array('neq',9);
|
|
|
$where_art['type'] = 1;
|
...
|
...
|
|