ARTICLES

文章

分享经验、记录生活和整理知识。

thinkphp

一些自定义类库-权限验证

namespace app\admin\myclass; class admin { //登陆验证 public static function login($name,$password) { $where=null; $where["admin_name"]=$name; $da…

2018-12-12 · 0 阅读
thinkphp

thinkphp作品

第一次写权限模块 梦呓居后台开发框架(1.0) 梦呓居后台开发框架(1.1) 1.1更新时间: 更新内容 节点权限批量添加

2018-12-11 · 0 阅读
thinkphp

thinkphp常用小备注

//如果要获取当前的请求信息,可以使用\think\Request类, $request = \think\Request::instance(); echo "当前模块名称是" . $request->module(); echo "当前控制器名称是" . $request->c…

2018-12-10 · 0 阅读
thinkphp

关于thinkphp的一些自用函数库

//单字段查询,$data(查询条件),$table(查询表),$inField(条件字段),$outField(输出字段),$re(无数据时输出) function getVaule($data,$table,$inField,$outField,$re="暂无数据") { $Table…

2018-12-10 · 0 阅读