123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632 |
- <?php
-
- namespace bibidd\Controller;
-
- use Think\Controller;
- class LinshiController extends Controller
- {
-
- /**
- * 测试功能
- * @param $templateid []
- * @return $type 消息类型
- */
- public function testone()
- {
- $jinri_start_time = mktime(0, 0, 0, date('m'), date('d'), date('Y'));
- $jinri_end_time = mktime(0, 0, 0, date('m'), date('d') + 1, date('Y')) - 1;
-
- $zuo_start_time = mktime(0, 0, 0, date('m'), date('d') - 1, date('Y'));
- $zuo_end_time = mktime(0, 0, 0, date('m'), date('d'), date('Y')) - 1;
-
-
-
- echo PHP_EOL.$jinri_start_time;
- echo PHP_EOL.$jinri_end_time;
- echo PHP_EOL.$zuo_start_time;
- echo PHP_EOL.$zuo_end_time;
- echo PHP_EOL."q---9951";
- // $yn_ip_yiyou = M("ip_jilasdasu")->where("ip='$ip'")->getField("id");
- }
-
- /**
- * 修改收藏列表中的内容
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_shoucang_list_type()
- {
- $shoucang_list = M("video_shoucang")->where("video_type is null")->field("vid")->select();
- foreach ($shoucang_list as $key1 => $value1) {
- $iid = M("video_shoucang")->where("video_type is null")->getField("vid");
- $video_iid = $iid;
- $site = M("video_list_test")->where("id=$video_iid")->getField("up");
- $shoucang_save['video_type'] = $site;
- M("video_shoucang")->where("vid=$video_iid")->save($shoucang_save);
- echo PHP_EOL . '11';
- }
- }
-
- /**
- * 修改收藏列表中的内容
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_shoucang_list_type_test(){
- $shoucang_list = M("video_shoucang")->where("video_type is null")->field("vid")->group('vid')->select();
- echo PHP_EOL.count($shoucang_list);
- foreach ($shoucang_list as $key1 => $value1) {
- $video_iid = $value1['vid'];
- $site = M("video_list_test")->where("id=$video_iid")->getField("site");
- $shoucang_save['video_type'] = $site;
- M("video_shoucang")->where("vid=$video_iid")->save($shoucang_save);
- echo PHP_EOL.'11';
- }
- }
- /**
- * 测试功能
- * @param $templateid []
- * @return $type 消息类型
- */
- public function select_id_video_url(){
- $select_id_vdieo_url = M("upload_videos_list")->where("m3u8_url is not null and top_img is null or top_img=''")->field("id,m3u8_url")->select();
- if ($select_id_vdieo_url) {
- $data['code'] = '200';
- $data['status'] = '1' ;
- $data['message'] = 'ok';
- $data['data'] = $select_id_vdieo_url;
- }else{
- $data['code'] = '200';
- $data['status'] = '1';
- $data['message'] = 'ok';
- $data['data'] = "null";
- }
- echo json_encode($data);
- }
- /**
- * 测试功能
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_id_hesdimg(){
- $id = $_POST['id'];
- $head_img = $_POST['head_img'];
- $wula['top_img'] = $head_img;
- $save_yn = M("upload_videos_list")->where("id=$id")->save($wula);
- if ($save_yn) {
- $data['message'] = 'ok';
- $data['id'] = $id;
- $data['head_img'] =$head_img;
- echo json_encode($data);
- }else{
- $data['message'] = 'no_save';
- $data['id'] = $id;
- $data['head_img'] =$head_img;
- echo json_encode($data);
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function savefield(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $all_fufei = M("huidiao_test")->group('uid')->select();
- foreach ($all_fufei as $key => $value) {
- $user_id = $value['uid'];
- $user_list[$key]=$value['id'];
- echo PHP_EOL.$user_id;
- M("user_info")->where("id=$user_id")->setField('vip_money','1');
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_shoucang_video(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $all_null = M("video_shoucang")->where(" video_type is null")->field("vid,id")->select();
- foreach ($all_null as $key => $value) {
- $sid = $value['id'];
- $vid = $value['vid'];
- $vup = M("video_list_test")->where("id=$vid")->getField("uploader");
- M("video_shoucang")->where("id=$sid")->setField('video_type',"$vup");
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function oumei_img(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $oumei_img = M("video_list_test")->where("site='EUA' or site='Anime'")->field("top_img")->select();
- foreach ($oumei_img as $key => $value) {
- $img_url = $value['top_img'];
- echo PHP_EOL.$img_url;
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function anime_save_url(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $anime_list = M("heiliao_haijiao_books")->where("(site_name='色猫资源') and type='动画'")->field("id,hj_video_url,head_img")->select();
- foreach ($anime_list as $key => $value) {
- $video_url = $value['hj_video_url'];
- $img_url = $value['head_img'];
- $vid = $value['id'];
- $video_url = str_replace('https://www.5uafocvs4xlibumya2.xyz/videos/one/SM/','https://www.w29oeq2xltw5evwp5e4.vip/Anime/',$video_url);
- $img_url = str_replace('https://www.5uafocvs4xlibumya2.xyz/videos/img/SM/','https://www.w29oeq2xltw5evwp5e4.vip/Head_img/Anime/',$img_url);
- $video_list['hj_video_url']= $video_url;
- $video_list['head_img'] =$img_url;
- M("heiliao_haijiao_books")->where("id=$vid")->save($video_list);
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:update oumei video top_img
- * @param $templateid []
- * @return $type 消息类型
- */
- public function eua_save_img_url(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $anime_list = M("video_list_test")->where("uploader='欧美'")->field("top_img,id")->select();
- foreach ($anime_list as $key => $value) {
- $img_url = $value['top_img'];
- $vid = $value['id'];
- $img_url = str_replace('https://www.5uafocvs4xlibumya2.xyz/imgs/www','https://www.w29oeq2xltw5evwp5e4.vip/Head_img/EUA',$img_url);
- $video_list['top_img'] =$img_url;
- M("video_list_test")->where("id=$vid")->save($video_list);
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:分割后在拼接
- * @param $templateid []
- * @return $type 消息类型
- */
- public function update_asian_img_url(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $Asian_url = M("video_list_test")->where("uploader='亚洲' ")->field("top_img,id")->select();
- foreach ($Asian_url as $key => $value) {
- $img_url = $value['top_img'];
- $vid = $value['id'];
- $arr_str_url = explode('/',$img_url);
- $new_url['top_img'] = "https://www.bxdva5aa9xlbuvm863.top/Asian/img/".end($arr_str_url);
- echo PHP_EOL.$new_url['top_img'];
- M("video_list_test")->where("id=$vid")->save($new_url);
- }
- }else{
- echo $this->returnData();
- }
- }
- protected function returnData()
- {
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $data['status'] = '0';
- $data['code'] = '202';//未携带参数,请求失败
- $data['message'] = 'error';
- echo json_encode($data);
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function Asian_video_quchong(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- $wula_list = M("video_info_test")->where("site='Asian'")->field("video_url")->select();
- $video_path = array();
- foreach ($wula_list as $key => $value) {
- $url_show = $value['video_url'];
- $arr_str_url = explode('/',$url_show);
- // $secondToLastElement = end(array_slice($arr_str_url, -2, 1));
- // echo PHP_EOL.$secondToLastElement;
- // echo PHP_EOL.$secondToLastElement;
- // array_push($video_path,$secondToLastElement);
- // array_push($video_path,$secondToLastElement);
- }
- // echo PHP_EOL.count($video_path);
- // $video_path = array_unique($video_path);
- // echo PHP_EOL.count($video_path);
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_video_info_url(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $Asian_video_list = M("video_info_test")->where("site='Asian'")->field("video_url,video_id")->select();
- foreach ($Asian_video_list as $key => $value) {
- $v_id = $value['video_id'];
- $v_url = $value['video_url'];
- // echo PHP_EOL.$v_url;
- $arr_str_url = explode('/',$v_url);
- // $secondToLastElement = end(array_slice($arr_str_url, -2, 1));
- // $new_url ='https://www.w29oeq2xltw5evwp5e4.vip/Asian/'.$secondToLastElement.'/'.$secondToLastElement.'.'."m3u8";
- // echo PHP_EOL.$new_url;
- // $sav_url_list['video_url'] = $new_url;
- // M("video_info_test")->where("video_id=$v_id")->save($sav_url_list);
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_asian_tpo_img_seven(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $now_top_img_list = M("video_list_test")->where("top_img like '%https://www.bxdva5aa9xlbuvm863.top/Asian/img/%'")->field("top_img,id")->select();
- foreach ($now_top_img_list as $key => $value) {
- # code...
- $id= $value['id'];
- $tip_img = $value['top_img'];
- $tip_img = str_replace('https://www.bxdva5aa9xlbuvm863.top/Asian/img/',"https://www.w29oeq2xltw5evwp5e4.vip/Head_img/Asian/",$tip_img);
- $save_img_new['top_img']= $tip_img;
- echo PHP_EOL.$tip_img;
- M("video_list_test")->where("id=$id")->save($save_img_new);
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:意见反馈
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_fankui_user_info(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $user_info = M("user_fankui")->where("id>0")->field("uid")->select();
- foreach ($user_info as $key => $value) {
- $uid = $value['uid'];
- $add_time_chuo = M("user_info")->where("id=$uid")->getField("add_time");;
- $add_list['zhuce_time'] = date("Y-m-d H:i:s",$add_time_chuo);
- $add_list['user_name'] =M("user_info")->where("id=$uid")->getField("name");;
- M("user_fankui")->where("uid=$uid")->save($add_list);
- }
- }
- //VIP(12个)(11个横图,1个竖图)
- //——黑料吃瓜,海角乱伦,麻豆传媒,探花大神,明星换脸,福利姬,SM调教,大尺度综艺,玩偶姐姐,SWAG,户外车震,雪白美乳(竖图)
- //
- //金币(9个)(4个横图,4个竖图,1个小说)
- //——网爆门,AV解说,厕所偷拍,抄底偷拍,粉嫩少女(竖图),顶臀街射(竖图),另类猎奇(竖图),素人反差(竖图),色情小说,
- /**
- * 版本:1.8
- * 新增/更新:
- * 简述:修改video_info 表中videoUrl
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_info_test_url(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $now_top_img_list = M("video_info_test")->where("video_id>0 and video_url_three is null")->field("video_url,video_id")->select();
- foreach ($now_top_img_list as $key => $value) {
- # code...
- $id= $value['video_id'];
- $vidoe_url = $value['video_url'];
- $tip_img = str_replace('https://www.w29oeq2xltw5evwp5e4.vip',"https://9vdpqph4cqjard6e.xyz",$vidoe_url);
- $save_img_new['video_url_three']= $tip_img;
- echo PHP_EOL.$tip_img;
- M("video_info_test")->where("video_id=$id")->save($save_img_new);
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:1.8
- * 新增/更新:
- * 简述:修改video_info 表中videoUrl
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_books_test_url(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $now_top_img_list = M("heiliao_haijiao_books")->where("id>0 and hj_video_url_two is null and hj_video_url !=''")->field("hj_video_url,id")->select();
- foreach ($now_top_img_list as $key => $value) {
- # code...
- $id= $value['id'];
- $vidoe_url = $value['hj_video_url'];
- $tip_img = str_replace('https://www.5uafocvs4xlibumya2.xyz',"https://fwpwxhtrtmp7rmr6.xyz",$vidoe_url);
- $save_img_new['hj_video_url_two']= $tip_img;
- echo PHP_EOL.$tip_img;
- M("heiliao_haijiao_books")->where("id=$id")->save($save_img_new);
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function Anime_video_url_save(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $anime_list_show = M("video_list_test")->where("uploader='动漫'")->field("id")->select();
- $you_id = 0;
- $meiyou_id = 0;
- foreach ($anime_list_show as $key => $value) {
- $id = $value['id'];
- $yn_info = M("video_info_test")->where("video_id=$id")->select();
- if ($yn_info){
- echo PHP_EOL."有:".$id;
- $you_id+=1;
- }else{
- echo PHP_EOL."没有:".$id;
- $meiyou_id+=1;
- $info_anime_list['video_id']=$id;
- $info_anime_list['site']="Anime";
- M("video_info_test")->add($info_anime_list);
- }
- echo PHP_EOL.$you_id;
- echo PHP_EOL.$meiyou_id;
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function update_anime_url_new(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $null_anime = M("heiliao_haijiao_books")->where("site_name='色猫资源' and type='动画' ")->field("id,hj_video_url")->select();
- foreach ($null_anime as $key => $value) {
- $id = $value['id'];
- $anime_url = $value['hj_video_url'];
- $yn_info = M("video_info_test")->where("video_id=$id")->select();
- $anime_url_list['video_url'] = $anime_url;
- M("video_info_test")->where("video_id=$id")->save($anime_url_list);
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function php_show_v(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- phpinfo();
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:动漫
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_free_img_head(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- if (!empty($_POST)){
- $anime_list = M("video_list_test")->where("top_img like '%ideos/one/FC/i%'")->field("top_img,id")->select();
- foreach ($anime_list as $key => $value) {
- $img_top = $value['top_img'];
- $id = $value['id'];
- echo PHP_EOL.$img_top;
- $replacementBase = 'https://static.9169kkxstzsjkdd222.app/static/Head_img/FC/';
- $modifiedUrl = preg_replace('/https:\/\/www\.5uafocvs4xlibumya2\.xyz\/videos\/one\/FC\/img\/\d{4}-\d{2}-\d{2}\//', $replacementBase, $img_top);
- // 打印修改后的URL
- // echo $modifiedUrl . "\n";
- echo PHP_EOL.$modifiedUrl;
- $img_savelist['top_img']=$modifiedUrl;
- M("video_list_test")->where("id=$id")->save($img_savelist);
- }
- }else{
- echo $this->returnData();
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function save_list_str_log(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $all_list = M("heiliao_haijiao_books")->where("book_type in ('FC','超模','超爽')")->field("id,book_str,book_str_two,book_str_three")->select();
- foreach ($all_list as $key => $value) {
- $id = $value['id'];
- $url_str = $value['book_str'];
- $str_two =str_replace('www.5uafocvs4xlibumya2.xyz','45diuo2303flkja012mfg.xyz',$url_str);
- $str_three =str_replace('www.5uafocvs4xlibumya2.xyz','fwpwxhtrtmp7rmr6.xyz',$url_str);
- echo PHP_EOL.$str_two;
- echo PHP_EOL.$str_three;
- $wula_two['book_str_two'] = $str_two;
- $wula_two['book_str_three'] = $str_three;
- M("heiliao_haijiao_books")->where("id=$id")->save($wula_two);
- echo PHP_EOL.$id;
- echo PHP_EOL.$url_str;
- }
- }
- /**
- * 版本:
- * 新增/更新:
- * 简述:
- * @param $templateid []
- * @return $type 消息类型
- */
- public function test_niubi(){
- header('Content-Type:text/json;charset=utf-8');
- header('Access-Control-Allow-Origin:*');
- header("Access-Control-Allow-Headers:token,Origin, X-Requested-With, Content-Type, Accept");
- header('Access-Control-Allow-Methods:POST');
- header('Access-Control-Expose-Headers:*');
- $video_list = M("upload_videos_list")->field("url_path,top_img",true)->where("uploader='牛逼' && type=2")->order("id desc")->select();
- }
- }
- ?>
|