会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
立里青争
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
tp3.2
移动端点击事件兼容问题,在pc端可以点,在手机上不可以点
摘要:onClick="javascript:;" 加上onClick即可
阅读全文
posted @
2020-04-14 15:30
PHP小媛
阅读(311)
评论(0)
推荐(0)
uat
摘要: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)
生成config文件到内存中
摘要:<?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)
tp3.2中批量删除 批量添加数据
摘要: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)
tp3.2中自带的分页
摘要:后端: 前端:
阅读全文
posted @
2019-10-13 19:06
PHP小媛
阅读(1296)
评论(0)
推荐(0)
公告