随笔分类 -  tp3.2

摘要:onClick="javascript:;" 加上onClick即可 阅读全文
posted @ 2020-04-14 15:30 PHP小媛 阅读(311) 评论(0) 推荐(0)
摘要:protected function getPagesByLists($page, $base_url = null, $current_page=1) { $ret=[]; $is_search_page = false; // $is_search_page = true; for($i=1;$ 阅读全文
posted @ 2020-02-27 16:02 PHP小媛 阅读(329) 评论(0) 推荐(0)
摘要:protected function getPagesByLists($page, $base_url = null, $current_page=1) { $ret=[]; $is_search_page = false; // $is_search_page = true; for($i=1;$ 阅读全文
posted @ 2020-02-27 15:59 PHP小媛 阅读(251) 评论(0) 推荐(0)
摘要:<?php $site_code='property'; $common = [ 'API_HOST_V3'=>'http://10.1.118.12:83/apiv3.json' ,'SITE_CODE'=>'CP']; $api_v3 = 'http://10.1.118.12:83/apiv3 阅读全文
posted @ 2020-02-23 21:05 PHP小媛 阅读(317) 评论(0) 推荐(0)
摘要:protected function getPagesByLists($page, $base_url = null, $current_page=1) { $ret=[]; $is_search_page = false; // $is_search_page = true; for($i=1;$ 阅读全文
posted @ 2020-02-13 15:55 PHP小媛 阅读(146) 评论(0) 推荐(0)
摘要:M('tablename')->where("id in (1,2,3,4,5)")->delete(); // 删除tablename 表中id 为1,2,3,4,5 的5条数据。要批量删除,改一下where 调教就行了 public function batCreatePlace($data) 阅读全文
posted @ 2019-11-24 18:29 PHP小媛 阅读(491) 评论(0) 推荐(0)
摘要:后端: 前端: 阅读全文
posted @ 2019-10-13 19:06 PHP小媛 阅读(1296) 评论(0) 推荐(0)