猫小怪

世人慌慌张张,不过图碎银几两。

 

2020年6月8日

判断数据库内不为空的字段(tp3)

摘要: $where['vdoid']=array('neq','');//eq=>等于$video = M('new')->where($where)->order("id desc")->select(); 阅读全文

posted @ 2020-06-08 20:38 猫小怪 阅读(447) 评论(0) 推荐(0)

跨域请求(通过id获取用户整个信息并返回到前台)

摘要: 前台页面 jQuery.ajax({ type: "get", url: Apiurl+"user/userinfo", dataType: "json", data:{ 'userid':user,(用户id) }, //赋值给前台页面 success: function (arr) { $('# 阅读全文

posted @ 2020-06-08 20:33 猫小怪 阅读(225) 评论(0) 推荐(0)

导航