1 1 //编写类方法用$this->ajaxReturn()返回数据 2 2 public function index(){ 3 3 $user = M('User'); 4 5 $data = $user->where($map)->field('name,data')->select(); 5 6 $this->ajaxReturn($data,'JSON'); 6 7 }
1 1 //编写类方法用$this->ajaxReturn()返回数据 2 2 public function index(){ 3 3 $user = M('User'); 4 5 $data = $user->where($map)->field('name,data')->select(); 5 6 $this->ajaxReturn($data,'JSON'); 6 7 }
Google插件分享
LT浏览器帮在不同的设备分辨率上进行测试。使用 LT 浏览器,可以简化UI/UX开发、测试内容放置和对齐、评估不同屏幕分辨率上视觉繁重的网站,并生成网站的性能报告。
安卓机使用一段时间就要清理,这个大家肯定都知道,不过苹果机也要清理吗?当然也是要的,手机用久了之后,难免会产生很多垃圾,影响我们的体验感,那么苹果手机要怎么清理呢?今天小编就来分享几个清理技巧,让大家手机如丝般顺滑~再战三年不是问题!1、微信清理微信是我们天天都在用的软件,所以它产生的垃圾也是可观的,特别是一些视频和图片垃圾,特别占用空间,所以微信清理是很有必要的。打开微信,点击【我】——【设置】
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M