GithubHelp home page GithubHelp logo

tp's Introduction

thinkPHP 模板学习

删除源码中的已写代码

有些问题是数据库和软删除导致无法登入

  • 删除admin下的base.php文件
  • 修改User.php文件中'class User extends base'->'class User extends Controller'

或者

  • 更改数据库中软删除信息(软删除后用户无法登入)
  • 模型中user需要双重md5加密同时验证也需要

MVC**

业务逻辑,数据,界面分离

  • M 模型---数据库
  • V 视图---界面
  • C 控制器---从视图中读取数据

数据库关联

用户管理---客户(可为空),权限 权限管理---权限 客户管理---最基础的信息

tp's People

Contributors

chen-huai avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.